xmlsitemap_custom.routing.yml in XML sitemap 2.x
Same filename and directory in other branches
xmlsitemap_custom/xmlsitemap_custom.routing.yml
6 string references to YAML keys in xmlsitemap_custom.routing.yml
- XmlSitemapCustomAddForm::buildForm in xmlsitemap_custom/
src/ Form/ XmlSitemapCustomAddForm.php - Form constructor.
- XmlSitemapCustomAddForm::submitForm in xmlsitemap_custom/
src/ Form/ XmlSitemapCustomAddForm.php - Form submission handler.
- XmlSitemapCustomDeleteForm::getCancelUrl in xmlsitemap_custom/
src/ Form/ XmlSitemapCustomDeleteForm.php - Returns the route to go to if the user cancels the action.
- XmlSitemapCustomEditForm::buildForm in xmlsitemap_custom/
src/ Form/ XmlSitemapCustomEditForm.php - Form constructor.
- XmlSitemapCustomEditForm::submitForm in xmlsitemap_custom/
src/ Form/ XmlSitemapCustomEditForm.php - Form submission handler.
File
xmlsitemap_custom/xmlsitemap_custom.routing.ymlView source
- xmlsitemap_custom.list:
- path: '/admin/config/search/xmlsitemap/custom'
- defaults:
- _controller: '\Drupal\xmlsitemap_custom\Controller\XmlSitemapCustomListController::render'
- _title: 'Custom links'
- requirements:
- _permission: 'administer xmlsitemap'
-
- xmlsitemap_custom.add:
- path: '/admin/config/search/xmlsitemap/custom/add'
- defaults:
- _form: '\Drupal\xmlsitemap_custom\Form\XmlSitemapCustomAddForm'
- _title: 'Add custom link'
- requirements:
- _permission: 'administer xmlsitemap'
-
- xmlsitemap_custom.edit:
- path: '/admin/config/search/xmlsitemap/custom/edit/{link}'
- defaults:
- _form: '\Drupal\xmlsitemap_custom\Form\XmlSitemapCustomEditForm'
- _title: 'Edit custom link'
- requirements:
- _permission: 'administer xmlsitemap'
-
- xmlsitemap_custom.delete:
- path: '/admin/config/search/xmlsitemap/custom/delete/{link}'
- defaults:
- _form: '\Drupal\xmlsitemap_custom\Form\XmlSitemapCustomDeleteForm'
- _title: 'Delete custom link'
- requirements:
- _permission: 'administer xmlsitemap'