You are here

quick_node_block.routing.yml in Quick Node Block 8

File

quick_node_block.routing.yml
View source
  1. quick_node_block.autocomplete:
  2. path: '/quick_node_block/autocomplete'
  3. defaults:
  4. _controller: '\Drupal\quick_node_block\Controller\AutocompleteController::autocomplete'
  5. requirements:
  6. # Controller to choose the display mode and find the content.
  7. _access: 'TRUE'
  8. quick_node_block.quickadd:
  9. path: 'admin/node/{node}/quick_node_block'
  10. defaults:
  11. _title: 'Add to Block'
  12. _controller: '\Drupal\quick_node_block\Controller\AddNodeBlock::blockAddConfigureForm'
  13. requirements:
  14. # Controller to add new quick node block.
  15. _permission: 'administer blocks'