block_content.links.action.yml

Same filename in other branches
  1. 8.9.x core/modules/block_content/block_content.links.action.yml
  2. 10 core/modules/block_content/block_content.links.action.yml
  3. 11.x core/modules/block_content/block_content.links.action.yml
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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.