diff --git a/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php b/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php index bc5696ba1d..1515cb46d8 100644 --- a/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php +++ b/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php @@ -3,13 +3,11 @@ namespace Drupal\content_moderation\Plugin\WorkflowType; use Drupal\content_moderation\ModerationInformationInterface; -use Drupal\Core\Access\AccessResult; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityTypeBundleInfoInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\EntityPublishedInterface; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; -use Drupal\Core\Session\AccountInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\content_moderation\ContentModerationState; use Drupal\workflows\Plugin\WorkflowTypeBase; diff --git a/core/modules/workflows/src/Plugin/WorkflowTypeBase.php b/core/modules/workflows/src/Plugin/WorkflowTypeBase.php index f0e95fc5bc..9005836e77 100644 --- a/core/modules/workflows/src/Plugin/WorkflowTypeBase.php +++ b/core/modules/workflows/src/Plugin/WorkflowTypeBase.php @@ -3,9 +3,7 @@ namespace Drupal\workflows\Plugin; use Drupal\Component\Plugin\PluginBase; -use Drupal\Core\Access\AccessResult; use Drupal\Core\Plugin\PluginWithFormsTrait; -use Drupal\Core\Session\AccountInterface; use Drupal\workflows\State; use Drupal\workflows\StateInterface; use Drupal\workflows\Transition; diff --git a/core/modules/workflows/src/WorkflowTypeInterface.php b/core/modules/workflows/src/WorkflowTypeInterface.php index 2d6bc814b4..0d9107104a 100644 --- a/core/modules/workflows/src/WorkflowTypeInterface.php +++ b/core/modules/workflows/src/WorkflowTypeInterface.php @@ -5,7 +5,6 @@ use Drupal\Component\Plugin\ConfigurablePluginInterface; use Drupal\Component\Plugin\DerivativeInspectionInterface; use Drupal\Core\Plugin\PluginWithFormsInterface; -use Drupal\Core\Session\AccountInterface; /** * An interface for Workflow type plugins.