uc_country.routing.yml in Ubercart 8.4
uc_country/uc_country.routing.yml
3 string references to YAML keys in uc_country.routing.yml
- CountryController::disableConfig in uc_country/
src/ Controller/ CountryController.php - Disables a country.
- CountryController::enableConfig in uc_country/
src/ Controller/ CountryController.php - Enables a country.
- CountryForm::save in uc_country/
src/ Form/ CountryForm.php - Form submission handler for the 'save' action.
File
uc_country/uc_country.routing.ymlView source
- entity.uc_country.collection:
- path: '/admin/store/config/country'
- defaults:
- _entity_list: 'uc_country'
- _title: 'Country settings'
- requirements:
- _permission: 'administer countries'
-
- entity.uc_country.edit_form:
- path: '/admin/store/config/country/{uc_country}/edit'
- defaults:
- _entity_form: 'uc_country.edit'
- _title: 'Edit country address format'
- requirements:
- _permission: 'administer countries'
-
- entity.uc_country.enable:
- path: '/admin/store/config/country/{uc_country}/enable'
- defaults:
- _controller: '\Drupal\uc_country\Controller\CountryController::enableConfig'
- _title: 'Enable country'
- requirements:
- _permission: 'administer countries'
- _csrf_token: 'TRUE'
-
- entity.uc_country.disable:
- path: '/admin/store/config/country/{uc_country}/disable'
- defaults:
- _controller: '\Drupal\uc_country\Controller\CountryController::disableConfig'
- _title: 'Disable country'
- requirements:
- _permission: 'administer countries'
- _csrf_token: 'TRUE'