public static function ViewRevisionsFormAlter::getNewRevisionRoutes in Config Entity Revisions 8.2
ViewRevisions routes that get new revision form fields.
Return value
array ViewRevisions routes that provide add or edit forms.
Overrides ConfigEntityRevisionsFormAlterBase::getNewRevisionRoutes
File
- modules/
view_revisions/ src/ ViewRevisionsFormAlter.php, line 67
Class
- ViewRevisionsFormAlter
- Class ViewRevisionsFormAlter.
Namespace
Drupal\view_revisionsCode
public static function getNewRevisionRoutes() {
return [
'entity.view.edit_form',
];
}