persistent_login.routing.yml in Persistent Login 8
4 string references to YAML keys in persistent_login.routing.yml
- PersistentLoginSettingsForm::buildForm in src/
Form/ PersistentLoginSettingsForm.php - Form constructor.
- PersistentLoginSettingsForm::getEditableConfigNames in src/
Form/ PersistentLoginSettingsForm.php - Gets the configuration names that will be editable.
- TokenManager::createNewTokenForUser in src/
TokenManager.php - Create a new token for the specified user.
- UserController::listTokens in src/
Controller/ UserController.php - List users's active tokens.
File
persistent_login.routing.ymlView source
- persistent_login.settings:
- path: '/admin/config/system/persistent_login'
- defaults:
- _form: '\Drupal\persistent_login\Form\PersistentLoginSettingsForm'
- _title: 'Persistent Login'
- requirements:
- _permission: 'administer site configuration'
-
- persistent_login.user_tokens_list:
- path: 'user/{user}/persistent-logins'
- defaults:
- _controller: '\Drupal\persistent_login\Controller\UserController::listTokens'
- _title: 'Persistent Logins'
- requirements:
- _entity_access: 'user.update'
- user: \d+