content_entity_example.links.action.yml

Same filename in other branches
  1. 3.x modules/content_entity_example/content_entity_example.links.action.yml
  2. 8.x-1.x content_entity_example/content_entity_example.links.action.yml
modules/content_entity_example/content_entity_example.links.action.yml

File

modules/content_entity_example/content_entity_example.links.action.yml

View source
  1. content_entity_example.contact_add:
  2. # The route which will be invoked when the link is clicked.
  3. route_name: content_entity_example.contact_add
  4. title: 'Add contact'
  5. # The pages where the link appears, indicated by their route names.
  6. appears_on:
  7. - entity.content_entity_example_contact.collection
  8. - entity.content_entity_example_contact.canonical