diff --git a/core/modules/field_ui/lib/Drupal/field_ui/FieldInstanceListController.php b/core/modules/field_ui/lib/Drupal/field_ui/FieldInstanceListController.php index 9744ed3..dcac786 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/FieldInstanceListController.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/FieldInstanceListController.php @@ -13,7 +13,7 @@ use Drupal\Core\Entity\EntityStorageControllerInterface; use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Extension\ModuleHandlerInterface; -use Drupal\Core\Field\FieldTypePluginManager; +use Drupal\Core\Field\FieldTypePluginManagerInterface; use Drupal\Component\Utility\String; use Drupal\field\FieldInfo; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -62,7 +62,7 @@ class FieldInstanceListController extends ConfigEntityListController { /** * The field type manager. * - * @var \Drupal\Core\Field\FieldTypePluginManager + * @var \Drupal\Core\Field\FieldTypePluginManagerInterface */ protected $fieldTypeManager; @@ -96,7 +96,7 @@ public static function createInstance(ContainerInterface $container, EntityTypeI * @param \Drupal\Core\Field\FieldTypePluginManager $field_type_manager * The field type manager */ - public function __construct(EntityTypeInterface $entity_info, EntityStorageControllerInterface $storage, ModuleHandlerInterface $module_handler, EntityManagerInterface $entity_manager, FieldInfo $field_info, FieldTypePluginManager $field_type_manager) { + public function __construct(EntityTypeInterface $entity_info, EntityStorageControllerInterface $storage, ModuleHandlerInterface $module_handler, EntityManagerInterface $entity_manager, FieldInfo $field_info, FieldTypePluginManagerInterface $field_type_manager) { parent::__construct($entity_info, $storage, $module_handler); $this->entityManager = $entity_manager; diff --git a/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldAddForm.php b/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldAddForm.php index 91b577d..474be68 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldAddForm.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/Form/FieldAddForm.php @@ -7,10 +7,9 @@ namespace Drupal\field_ui\Form; -use Drupal\Component\Utility\Url; use Drupal\Core\Entity\EntityManager; use Drupal\Core\Field\FieldDefinitionInterface; -use Drupal\Core\Field\FieldTypePluginManager; +use Drupal\Core\Field\FieldTypePluginManagerInterface; use Drupal\Core\Form\FormBase; use Drupal\field\Entity\Field; use Drupal\field\FieldInfo; @@ -67,7 +66,7 @@ class FieldAddForm extends FormBase { /** * The field type plugin manager. * - * @var \Drupal\Core\Field\FieldTypePluginManager + * @var \Drupal\Core\Field\FieldTypePluginManagerInterface */ protected $fieldTypePluginManager; @@ -81,7 +80,7 @@ class FieldAddForm extends FormBase { * @param \Drupal\Core\Field\FieldTypePluginManager $field_type_plugin_manager * The field type plugin manager. */ - public function __construct(EntityManager $entity_manager, FieldInfo $field_info, FieldTypePluginManager $field_type_plugin_manager) { + public function __construct(EntityManager $entity_manager, FieldInfo $field_info, FieldTypePluginManagerInterface $field_type_plugin_manager) { $this->entityManager = $entity_manager; $this->fieldInfo = $field_info; $this->fieldTypePluginManager = $field_type_plugin_manager;