coffee.routing.yml in Coffee 8
4 string references to YAML keys in coffee.routing.yml
- CoffeeConfigurationForm::buildForm in src/
Form/ CoffeeConfigurationForm.php - Form constructor.
- CoffeeConfigurationForm::getEditableConfigNames in src/
Form/ CoffeeConfigurationForm.php - Gets the configuration names that will be editable.
- CoffeeController::__construct in src/
Controller/ CoffeeController.php - Constructs a new CoffeeController object.
- coffee_page_attachments in ./
coffee.module - Implements hook_page_attachments().
File
coffee.routing.ymlView source
- coffee.configuration:
- path: '/admin/config/user-interface/coffee'
- defaults:
- _form: 'Drupal\coffee\Form\CoffeeConfigurationForm'
- _title: 'Coffee configuration'
- requirements:
- _permission: 'administer coffee'
-
- coffee.get_data:
- path: '/admin/coffee/get-data'
- defaults:
- _controller: 'Drupal\coffee\Controller\CoffeeController::coffeeData'
- requirements:
- _permission: 'access coffee'