diff --git a/core/modules/content_moderation/content_moderation.routing.yml b/core/modules/content_moderation/content_moderation.routing.yml index b511ab3..a7167ca 100644 --- a/core/modules/content_moderation/content_moderation.routing.yml +++ b/core/modules/content_moderation/content_moderation.routing.yml @@ -1,4 +1,4 @@ -workflow.type_edit_form: +content_moderation.workflow_type_edit_form: path: '/admin/config/workflow/workflows/manage/{workflow}/type/{entity_type_id}' defaults: _form: '\Drupal\content_moderation\Form\WorkflowTypeEditForm' diff --git a/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php b/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php index 9ad2236..0888d53 100644 --- a/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php +++ b/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php @@ -371,7 +371,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta '#links' => [ 'Add' => [ 'title' => $this->t('Select'), - 'url' => Url::fromRoute('workflow.type_edit_form', ['workflow' => $workflow->id(), 'entity_type_id' => $entity_type->id()]), + 'url' => Url::fromRoute('content_moderation.workflow_type_edit_form', ['workflow' => $workflow->id(), 'entity_type_id' => $entity_type->id()]), 'attributes' => [ 'aria-label' => $this->t('Select'), 'class' => ['use-ajax'],