Commit 9c32a103 authored by alexpott's avatar alexpott

Issue #3034885 by godotislate, Sam152, alexpott: Content moderation...

Issue #3034885 by godotislate, Sam152, alexpott: Content moderation paramconverter.latest_revision paramconverter applied on config entity admin route
parent d3a1192c
......@@ -3,7 +3,9 @@ services:
class: Drupal\content_moderation\ParamConverter\EntityRevisionConverter
parent: paramconverter.entity
tags:
- { name: paramconverter, priority: 5 }
# Set priority so it comes after paramconverter.configentity_admin, but
# before paramconverter.entity.
- { name: paramconverter, priority: 1 }
content_moderation.state_transition_validation:
class: \Drupal\content_moderation\StateTransitionValidation
arguments: ['@content_moderation.moderation_information']
......
<?php
namespace Drupal\Tests\content_moderation\Functional;
use Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest;
/**
* Test administration path based entity conversion when moderation enabled.
*
* @group content_moderation
*/
class ContentModerationAdminPathEntityConverterLanguageTest extends AdminPathEntityConverterLanguageTest {
/**
* {@inheritdoc}
*/
public static $modules = ['language', 'language_test', 'content_moderation'];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment