sharebar.routing.yml in ShareBar 8
2 string references to YAML keys in sharebar.routing.yml
- SharebarAddButtonForm::submitForm in src/
Form/ SharebarAddButtonForm.php - Form submission handler.
- template_preprocess_sharebar_buttons_table in ./
sharebar.module - Theme the administer buttons page.
File
sharebar.routing.ymlView source
- sharebar.admin:
- path: 'admin/config/sharebar'
- defaults:
- _content: '\Drupal\sharebar\Controller\SharebarController::admin'
- requirements:
- _permission: 'administer site configuration'
- sharebar.admin_settings:
- path: 'admin/config/sharebar/settings'
- defaults:
- _content: '\Drupal\sharebar\Controller\SharebarController::admin_settings'
- requirements:
- _permission: 'access administration pages'
- sharebar.add_button:
- path: 'admin/config/sharebar/add'
- defaults:
- _content: '\Drupal\sharebar\Controller\SharebarController::add_button'
- requirements:
- _permission: 'access administration pages'
- sharebar.del_button:
- path: 'admin/config/sharebar/del/{mname}'
- defaults:
- _content: '\Drupal\sharebar\Controller\SharebarController::del_button'
- requirements:
- _permission: 'access administration pages'
- sharebar.edit_button:
- path: 'admin/config/sharebar/edit/{mname}'
- defaults:
- _entity_form: 'sharebar.add_button'
- _content: '\Drupal\sharebar\Controller\SharebarController::edit_button'
- requirements:
- _permission: 'access administration pages'