diff --git a/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php b/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php index 04f62fe..3910218 100644 --- a/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php +++ b/core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php @@ -10,7 +10,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; use Drupal\workflows\Plugin\WorkflowTypeConfigureFormBase; -use Drupal\workflows\WorkflowInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** diff --git a/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php b/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php index 33e1eb5..aac75b9 100644 --- a/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php +++ b/core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php @@ -2,7 +2,6 @@ namespace Drupal\content_moderation\Plugin\WorkflowType; -use Drupal\Component\Serialization\Json; use Drupal\content_moderation\ModerationInformationInterface; use Drupal\Core\Access\AccessResult; use Drupal\Core\Entity\EntityTypeBundleInfoInterface; diff --git a/core/modules/workflows/src/Plugin/WorkflowTypeBase.php b/core/modules/workflows/src/Plugin/WorkflowTypeBase.php index f94c8db..b7e18d9 100644 --- a/core/modules/workflows/src/Plugin/WorkflowTypeBase.php +++ b/core/modules/workflows/src/Plugin/WorkflowTypeBase.php @@ -4,13 +4,11 @@ use Drupal\Component\Plugin\PluginBase; use Drupal\Core\Access\AccessResult; -use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Plugin\PluginWithFormsTrait; use Drupal\Core\Session\AccountInterface; use Drupal\workflows\State; use Drupal\workflows\StateInterface; use Drupal\workflows\Transition; -use Drupal\workflows\TransitionInterface; use Drupal\workflows\WorkflowInterface; use Drupal\workflows\WorkflowTypeInterface; diff --git a/core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php b/core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php index a9ee723..dd66440 100644 --- a/core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php +++ b/core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php @@ -7,7 +7,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Plugin\PluginFormInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; -use Drupal\workflows\WorkflowInterface; /** * A base class for workflow type configuration forms. diff --git a/core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php b/core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php index 5d328d7..965090d 100644 --- a/core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php +++ b/core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php @@ -7,7 +7,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Plugin\PluginFormInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; -use Drupal\workflows\StateInterface; /** * A base class for workflow type state forms. diff --git a/core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php b/core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php index c979a67..e56c4d4 100644 --- a/core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php +++ b/core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php @@ -7,7 +7,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Plugin\PluginFormInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; -use Drupal\workflows\TransitionInterface; /** * A base class for workflow type transition forms. diff --git a/core/modules/workflows/src/WorkflowTypeInterface.php b/core/modules/workflows/src/WorkflowTypeInterface.php index 1557024..448f149 100644 --- a/core/modules/workflows/src/WorkflowTypeInterface.php +++ b/core/modules/workflows/src/WorkflowTypeInterface.php @@ -4,7 +4,6 @@ use Drupal\Component\Plugin\ConfigurablePluginInterface; use Drupal\Component\Plugin\DerivativeInspectionInterface; -use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Plugin\PluginWithFormsInterface; use Drupal\Core\Session\AccountInterface; diff --git a/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeConfigureForm.php b/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeConfigureForm.php index 0fe5bd8..ca91577 100644 --- a/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeConfigureForm.php +++ b/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeConfigureForm.php @@ -4,7 +4,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\workflows\Plugin\WorkflowTypeConfigureFormBase; -use Drupal\workflows\WorkflowInterface; /** * Form to configure the complex test workflow type. diff --git a/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php b/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php index 3504e0f..c927c1e 100644 --- a/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php +++ b/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php @@ -4,7 +4,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\workflows\Plugin\WorkflowTypeStateFormBase; -use Drupal\workflows\StateInterface; /** * Form to configure the complex test workflow states. diff --git a/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeTransitionForm.php b/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeTransitionForm.php index fdd51f3..e6927bf 100644 --- a/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeTransitionForm.php +++ b/core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeTransitionForm.php @@ -4,7 +4,6 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\workflows\Plugin\WorkflowTypeTransitionFormBase; -use Drupal\workflows\TransitionInterface; /** * Form to configure the complex test workflow states.