You are here

public static function WebformRevisionsFormAlter::getNewRevisionRoutes in Config Entity Revisions 8.2

WebformRevisions routes that get new revision form fields.

Return value

array WebformRevisions routes that provide add or edit forms.

Overrides ConfigEntityRevisionsFormAlterBase::getNewRevisionRoutes

File

modules/webform_revisions/src/WebformRevisionsFormAlter.php, line 56

Class

WebformRevisionsFormAlter
Class WebformRevisionsFormAlter.

Namespace

Drupal\webform_revisions

Code

public static function getNewRevisionRoutes() {
  return [
    'entity.webform.edit_form',
    'entity.webform.source_form',
  ];
}