public static function ConfigEntityRevisionsFormAlterBase::getRevisionRoutes in Config Entity Revisions 8.2
Additional routes (to $add_edit_form_routes) that need a revision id.
Return value
array Additional routes (to $add_edit_form_routes) that need a revision id.
Overrides ConfigEntityRevisionsFormAlterInterface::getRevisionRoutes
1 call to ConfigEntityRevisionsFormAlterBase::getRevisionRoutes()
- ConfigEntityRevisionsFormAlterBase::formAlter in src/
ConfigEntityRevisionsFormAlterBase.php - Common form_alter hook code.
2 methods override ConfigEntityRevisionsFormAlterBase::getRevisionRoutes()
- ViewRevisionsFormAlter::getRevisionRoutes in modules/
view_revisions/ src/ ViewRevisionsFormAlter.php - Additional routes (to $add_edit_form_routes) that need a revision id.
- WebformRevisionsFormAlter::getRevisionRoutes in modules/
webform_revisions/ src/ WebformRevisionsFormAlter.php - Additional routes (to $add_edit_form_routes) that need a revision id.
File
- src/
ConfigEntityRevisionsFormAlterBase.php, line 65
Class
- ConfigEntityRevisionsFormAlterBase
- Class ConfigEntityRevisionsFormAlterBase.
Namespace
Drupal\config_entity_revisionsCode
public static function getRevisionRoutes() {
return array_merge(self::getAddFormRoutes(), self::getEditFormRoutes(), self::getViewFormRoutes(), []);
}