colorapi.routing.yml in Color API 8
File
colorapi.routing.yml
View source
- colorapi.admin_config:
- path: '/admin/config/color'
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: 'Colors'
- requirements:
- _permission: 'administer colors'
-
- colorapi.color_settings:
- path: '/admin/config/color/settings'
- defaults:
- _controller: 'Drupal\colorapi\Controller\PageController::moduleSettingsPage'
- _title: 'Color Settings'
- requirements:
- _permission: 'administer colors'
-
- entity.colorapi_color.collection:
- path: '/admin/config/color/colors'
- defaults:
- _entity_list: 'colorapi_color'
- _title: 'Color configuration'
- requirements:
- _permission: 'administer colors'
-
- entity.colorapi_color.add_form:
- path: '/admin/config/color/colors/add'
- defaults:
- _entity_form: 'colorapi_color.add'
- _title: 'Add color'
- requirements:
- _permission: 'administer colors'
-
- entity.colorapi_color.edit_form:
- path: '/admin/config/color/colors/{colorapi_color}'
- defaults:
- _entity_form: 'colorapi_color.edit'
- _title: 'Edit color'
- requirements:
- _permission: 'administer colors'
-
- entity.colorapi_color.delete_form:
- path: '/admin/config/color/colors/{colorapi_color}/delete'
- defaults:
- _entity_form: 'colorapi_color.delete'
- _title: 'Delete color'
- requirements:
- _permission: 'administer colors'