uc_role.routing.yml in Ubercart 8.4
uc_role/uc_role.routing.yml
11 string references to YAML keys in uc_role.routing.yml
- FeatureSettingsForm::buildForm in uc_role/
src/ Form/ FeatureSettingsForm.php - Form constructor.
- FeatureSettingsForm::getEditableConfigNames in uc_role/
src/ Form/ FeatureSettingsForm.php - Gets the configuration names that will be editable.
- FeatureSettingsForm::submitForm in uc_role/
src/ Form/ FeatureSettingsForm.php - Form submission handler.
- RenewRole::getExpiration in uc_role/
src/ Plugin/ RulesAction/ RenewRole.php - Calculates the expiration time using a role_product object.
- RoleDeleteForm::getCancelUrl in uc_role/
src/ Form/ RoleDeleteForm.php - Returns the route to go to if the user cancels the action.
File
uc_role/uc_role.routing.ymlView source
- #uc_role.assignments:
- # path: '/admin/store/products/roles'
- # defaults:
- # _form: '\Drupal\uc_role\Form\AdministerRoles'
- # _title: 'View role assignments'
- # requirements:
- # _permission: 'administer products'
-
- uc_role.expiration:
- path: '/admin/people/expiration'
- defaults:
- _form: '\Drupal\uc_role\Form\RoleExpirationForm'
- _title: 'Role expiration'
- # 'description' => 'Edit and view role expirations set by Ubercart'
- # 'type' => MENU_LOCAL_TASK
- requirements:
- _permission: 'administer users'
-
- uc_role.delete:
- path: '/admin/people/expiration/delete/{user}/{role}'
- defaults:
- _form: '\Drupal\uc_role\Form\RoleDeleteForm'
- _title: 'Delete role expiration'
- # 'description' => 'Delete a specified role expiration'
- # _form: 'uc_role_deletion_form', 4, 5)
- requirements:
- _permission: 'administer users'
- options:
- user: \d+
-
- uc_role.settings:
- path: '/admin/store/config/role'
- defaults:
- _form: '\Drupal\uc_role\Form\FeatureSettingsForm'
- _title: 'Role assignment settings'
- requirements:
- _permission: 'administer products'