You are here

block_content.links.action.yml in Drupal 10

core/modules/block_content/block_content.links.action.yml

File

core/modules/block_content/block_content.links.action.yml
View source
  1. block_content_type_add:
  2. route_name: block_content.type_add
  3. title: 'Add custom block type'
  4. appears_on:
  5. - entity.block_content_type.collection
  6. block_content_add_action:
  7. route_name: block_content.add_page
  8. title: 'Add custom block'
  9. appears_on:
  10. - block.admin_library
  11. - entity.block_content.collection
  12. class: \Drupal\block_content\Plugin\Menu\LocalAction\BlockContentAddLocalAction