hacked.routing.yml in Hacked! 8.2
10 string references to YAML keys in hacked.routing.yml
- HackedCommands::buildReportBatch in src/
Commands/ HackedCommands.php - Batch callback to build Hacked! report.
- HackedController::hackedStatusManually in src/
Controller/ HackedController.php - Page callback to rebuild the hacked report.
- HackedSettingsForm::buildForm in src/
Form/ HackedSettingsForm.php - Form constructor.
- HackedSettingsForm::getEditableConfigNames in src/
Form/ HackedSettingsForm.php - Gets the configuration names that will be editable.
- HackedSettingsForm::submitForm in src/
Form/ HackedSettingsForm.php - Form submission handler.
File
hacked.routing.ymlView source
- hacked.report:
- path: '/admin/reports/hacked'
- defaults:
- _controller: '\Drupal\hacked\Controller\HackedController::hackedStatus'
- _title: 'Hacked'
- requirements:
- _permission: 'administer site configuration'
-
- hacked.settings:
- path: '/admin/reports/hacked/settings'
- defaults:
- _form: 'Drupal\hacked\Form\HackedSettingsForm'
- _title: 'Settings'
- requirements:
- _permission: 'administer site configuration'
-
- hacked.manual_status:
- path: '/admin/reports/hacked/check'
- defaults:
- _title: 'Manual hacked check'
- _controller: '\Drupal\hacked\Controller\HackedController::hackedStatusManually'
- requirements:
- _permission: 'administer site configuration'
-
- hacked.project:
- path: '/admin/reports/hacked/{project}'
- defaults:
- _title_callback: '\Drupal\hacked\Controller\HackedController::hackedProjectTitle'
- _controller: '\Drupal\hacked\Controller\HackedController::hackedProject'
- requirements:
- _permission: 'administer site configuration'
- options:
- parameters:
- project:
- type: hacked_project
- loader: TRUE
-
- hacked.project_diff:
- path: '/admin/reports/hacked/{project}/diff'
- defaults:
- _title_callback: '\Drupal\hacked\Controller\HackedDiffController::hackedProjectDiffTitle'
- _controller: '\Drupal\hacked\Controller\HackedDiffController::hackedProjectDiff'
- requirements:
- _permission: 'administer site configuration'
- _module_dependencies: 'diff'
- options:
- parameters:
- project:
- type: hacked_project
- loader: TRUE