quick_node_block.routing.yml in Quick Node Block 8
1 string reference to YAML keys in quick_node_block.routing.yml
- QuickNodeBlock::blockForm in src/
Plugin/ Block/ QuickNodeBlock.php
File
quick_node_block.routing.ymlView source
- quick_node_block.autocomplete:
- path: '/quick_node_block/autocomplete'
- defaults:
- _controller: '\Drupal\quick_node_block\Controller\AutocompleteController::autocomplete'
- requirements:
- # Controller to choose the display mode and find the content.
- _access: 'TRUE'
-
- quick_node_block.quickadd:
- path: 'admin/node/{node}/quick_node_block'
- defaults:
- _title: 'Add to Block'
- _controller: '\Drupal\quick_node_block\Controller\AddNodeBlock::blockAddConfigureForm'
- requirements:
- # Controller to add new quick node block.
- _permission: 'administer blocks'