diff --git a/core/modules/field_ui/src/Form/FieldStorageAddForm.php b/core/modules/field_ui/src/Form/FieldStorageAddForm.php index 1c95aa6..a418c02 100644 --- a/core/modules/field_ui/src/Form/FieldStorageAddForm.php +++ b/core/modules/field_ui/src/Form/FieldStorageAddForm.php @@ -8,7 +8,7 @@ namespace Drupal\field_ui\Form; use Drupal\Core\Config\ConfigFactoryInterface; -use Drupal\Core\Entity\Query\QueryFactory; +use Drupal\Core\Entity\Query\QueryFactoryInterface; use Drupal\Core\Entity\EntityManagerInterface; use Drupal\Core\Field\FieldTypePluginManagerInterface; use Drupal\Core\Form\FormBase; @@ -72,12 +72,12 @@ class FieldStorageAddForm extends FormBase { * The entity manager. * @param \Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_plugin_manager * The field type plugin manager. + * @param \Drupal\Core\Entity\Query\QueryFactoryInterface $query_factory + * The entity query factory. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The configuration factory. - * @param \Drupal\Core\Entity\Query\QueryFactory $query_factory - * The entity query factory. */ - public function __construct(EntityManagerInterface $entity_manager, FieldTypePluginManagerInterface $field_type_plugin_manager, QueryFactory $query_factory, ConfigFactoryInterface $config_factory) { + public function __construct(EntityManagerInterface $entity_manager, FieldTypePluginManagerInterface $field_type_plugin_manager, QueryFactoryInterface $query_factory, ConfigFactoryInterface $config_factory) { $this->entityManager = $entity_manager; $this->fieldTypePluginManager = $field_type_plugin_manager; $this->queryFactory = $query_factory;