Loading src/Plugin/FieldInheritance/FieldInheritancePluginBase.php +6 −6 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ use Drupal\field_inheritance\FieldInheritancePluginInterface; use Drupal\Core\Language\LanguageManagerInterface; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\KeyValueStore\KeyValueFactory; use Drupal\Core\KeyValueStore\KeyValueFactoryInterface; /** * Abstract class FieldInheritancePluginBase. Loading Loading @@ -81,7 +81,7 @@ abstract class FieldInheritancePluginBase extends PluginBase implements FieldInh /** * The key value store. * * @var \Drupal\Core\KeyValueStore\KeyValueFactory * @var \Drupal\Core\KeyValueStore\KeyValueFactoryInterface */ protected $keyValue; Loading @@ -94,14 +94,14 @@ abstract class FieldInheritancePluginBase extends PluginBase implements FieldInh * The plugin ID. * @param mixed $plugin_definition * The plugin definition. * @param Drupal\Core\Language\LanguageManagerInterface $language_manager * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * The language manager service. * @param Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * The entity type manager. * @param Drupal\Core\KeyValueStore\KeyValueFactory $key_value * @param \Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value * The key value store. */ public function __construct(array $configuration, $plugin_id, $plugin_definition, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, KeyValueFactory $key_value) { public function __construct(array $configuration, $plugin_id, $plugin_definition, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, KeyValueFactoryInterface $key_value) { parent::__construct($configuration, $plugin_id, $plugin_definition); $this->fieldInheritanceId = $configuration['id']; $this->entity = $configuration['entity']; Loading Loading
src/Plugin/FieldInheritance/FieldInheritancePluginBase.php +6 −6 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ use Drupal\field_inheritance\FieldInheritancePluginInterface; use Drupal\Core\Language\LanguageManagerInterface; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\KeyValueStore\KeyValueFactory; use Drupal\Core\KeyValueStore\KeyValueFactoryInterface; /** * Abstract class FieldInheritancePluginBase. Loading Loading @@ -81,7 +81,7 @@ abstract class FieldInheritancePluginBase extends PluginBase implements FieldInh /** * The key value store. * * @var \Drupal\Core\KeyValueStore\KeyValueFactory * @var \Drupal\Core\KeyValueStore\KeyValueFactoryInterface */ protected $keyValue; Loading @@ -94,14 +94,14 @@ abstract class FieldInheritancePluginBase extends PluginBase implements FieldInh * The plugin ID. * @param mixed $plugin_definition * The plugin definition. * @param Drupal\Core\Language\LanguageManagerInterface $language_manager * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * The language manager service. * @param Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * The entity type manager. * @param Drupal\Core\KeyValueStore\KeyValueFactory $key_value * @param \Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value * The key value store. */ public function __construct(array $configuration, $plugin_id, $plugin_definition, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, KeyValueFactory $key_value) { public function __construct(array $configuration, $plugin_id, $plugin_definition, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, KeyValueFactoryInterface $key_value) { parent::__construct($configuration, $plugin_id, $plugin_definition); $this->fieldInheritanceId = $configuration['id']; $this->entity = $configuration['entity']; Loading