I made a custom entity type and I’d like it added to the tabs on the content page seen below.
My custom_entity.links.menu.yml Looks like this
entity.custom_entity.collection: title: 'Custom Entities' route_name: 'entity.custom_entity.collection' description: 'List Custom Entities' parent: system.admin_content entity.custom_entity.add_form: title: 'Add Custom Entity' route_name: 'entity.custom_entity.collection' description: 'Add custom entity' parent: entity.custom_entity.collection custom_entity.admin.structure.settings: title: 'Custom Entity Settings' description: 'Configure Custom Entity' route_name: 'custom_entity.settings' parent: system.admin_structure
And it does display the custom entity pages in the admin menu but it does not appear amongst the tabs on the content page. Is there a separate yml file that governs that?
Update: sonfd’s solution worked. For the record here was what was added to the custom_entity.links.task.yml file for it to appear on the content page.
entity.custom_entity.collection: route_name: entity.custom_entity.collection base_route: system.admin_content title: Custom Entities