homebox.routing.yml in Homebox 8
5 string references to YAML keys in homebox.routing.yml
- HomeboxLayoutController::listBlocks in src/
Controller/ HomeboxLayoutController.php - Shows a list of blocks that can be added to a theme's layout.
- HomeboxListBuilder::getDefaultOperations in src/
HomeboxListBuilder.php - Gets this list's default operations.
- HomeboxSettingsForm::buildBlocksForm in src/
Form/ HomeboxSettingsForm.php - Build block edit form.
- HomeboxSettingsForm::getOperations in src/
Form/ HomeboxSettingsForm.php - Gets this list's default operations.
- homebox_local_tasks_alter in ./
homebox.module - Implements hook_local_tasks_alter().
File
homebox.routing.ymlView source
- homebox.page:
- path: '/homebox-page/{homebox}/{user}'
- defaults:
- _form: '\Drupal\homebox\Form\HomeboxPageForm'
- requirements:
- _custom_access: '\Drupal\homebox\Controller\HomeboxController::access'
-
- homebox.settings_form:
- path: '/admin/structure/homebox/{homebox}/settings'
- defaults:
- _entity_form: 'homebox.settings'
- _title: 'Homebox settings'
- requirements:
- _entity_access: 'homebox.settings'
-
- homebox.block.admin_library:
- path: '/admin/structure/homebox/block/library/{homebox}'
- defaults:
- _controller: '\Drupal\homebox\Controller\HomeboxLayoutController::listBlocks'
- _title: 'Place block'
- requirements:
- _permission: 'administer blocks'
-
- entity.homebox_layout.add_form:
- path: '/admin/content/homebox/homebox_layout/add/{homebox}'
- defaults:
- _title: 'Add content'
- _controller: '\Drupal\homebox\Controller\HomeboxController::add'
- requirements:
- _homebox_layout_add_access: 'homebox_layout:{homebox}'
-
- entity.homebox_layout.add_page:
- path: '/admin/content/homebox/homebox_layout/add'
- defaults:
- _title: 'Add homebox layout'
- entity_type_id: 'homebox_layout'
- _controller: 'Drupal\Core\Entity\Controller\EntityController::addPage'
- _title_callback: 'Drupal\Core\Entity\Controller\EntityController::addTitle'
- requirements:
- _entity_create_any_access: 'homebox_layout'
- options:
- _admin_route: TRUE