You are here

public static function ViewRevisionsFormAlter::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 ConfigEntityRevisionsFormAlterBase::getRevisionRoutes

File

modules/view_revisions/src/ViewRevisionsFormAlter.php, line 92

Class

ViewRevisionsFormAlter
Class ViewRevisionsFormAlter.

Namespace

Drupal\view_revisions

Code

public static function getRevisionRoutes() {
  return array_merge(self::getAddFormRoutes(), self::getEditFormRoutes(), self::getViewFormRoutes(), [
    'view_ui_element_form',
  ]);
}