antibot.routing.yml in Antibot 8
4 string references to YAML keys in antibot.routing.yml
- AntibotCacheTagsTest::testFormCacheInvalidation in tests/
src/ Functional/ AntibotCacheTagsTest.php - Tests that form caches is invalidated when Antibot settings are updated.
- AntibotSettings::buildForm in src/
Form/ AntibotSettings.php - Form constructor.
- AntibotSettings::getEditableConfigNames in src/
Form/ AntibotSettings.php - Gets the configuration names that will be editable.
- antibot_form_alter in ./
antibot.module - Implements hook_form_alter().
File
antibot.routing.ymlView source
- antibot.settings:
- path: '/admin/config/user-interface/antibot'
- defaults:
- _form: '\Drupal\antibot\Form\AntibotSettings'
- _title: 'Antibot settings'
- requirements:
- _permission: 'administer antibot configuration'
- options:
- _admin_route: TRUE
-
- antibot.antibot:
- path: '/antibot'
- defaults:
- _controller: '\Drupal\antibot\Controller\AntibotPage::page'
- _title: 'Submission failed'
- requirements:
- _access: 'TRUE'