class BaseFieldOverrideStorage
Same name in other branches
- 9 core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage
- 8.9.x core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage
- 10 core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage
Storage class for base field overrides.
Hierarchy
- class \Drupal\Core\Entity\EntityHandlerBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\Core\Entity\EntityStorageBase extends \Drupal\Core\Entity\EntityHandlerBase implements \Drupal\Core\Entity\EntityStorageInterface, \Drupal\Core\Entity\EntityHandlerInterface
- class \Drupal\Core\Config\Entity\ConfigEntityStorage extends \Drupal\Core\Entity\EntityStorageBase implements \Drupal\Core\Config\Entity\ConfigEntityStorageInterface, \Drupal\Core\Config\Entity\ImportableEntityStorageInterface
- class \Drupal\Core\Field\FieldConfigStorageBase extends \Drupal\Core\Config\Entity\ConfigEntityStorage
- class \Drupal\Core\Field\BaseFieldOverrideStorage extends \Drupal\Core\Field\FieldConfigStorageBase
- class \Drupal\Core\Field\FieldConfigStorageBase extends \Drupal\Core\Config\Entity\ConfigEntityStorage
- class \Drupal\Core\Config\Entity\ConfigEntityStorage extends \Drupal\Core\Entity\EntityStorageBase implements \Drupal\Core\Config\Entity\ConfigEntityStorageInterface, \Drupal\Core\Config\Entity\ImportableEntityStorageInterface
- class \Drupal\Core\Entity\EntityStorageBase extends \Drupal\Core\Entity\EntityHandlerBase implements \Drupal\Core\Entity\EntityStorageInterface, \Drupal\Core\Entity\EntityHandlerInterface
Expanded class hierarchy of BaseFieldOverrideStorage
1 file declares its use of BaseFieldOverrideStorage
- BaseFieldOverride.php in core/
lib/ Drupal/ Core/ Field/ Entity/ BaseFieldOverride.php
File
-
core/
lib/ Drupal/ Core/ Field/ BaseFieldOverrideStorage.php, line 15
Namespace
Drupal\Core\FieldView source
class BaseFieldOverrideStorage extends FieldConfigStorageBase {
/**
* Constructs a BaseFieldOverrideStorage object.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type definition.
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
* The config factory service.
* @param \Drupal\Component\Uuid\UuidInterface $uuid_service
* The UUID service.
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* The language manager.
* @param \Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_manager
* The field type plugin manager.
* @param \Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memory_cache
* The memory cache.
*/
public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, FieldTypePluginManagerInterface $field_type_manager, MemoryCacheInterface $memory_cache) {
parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager, $memory_cache);
$this->fieldTypeManager = $field_type_manager;
}
/**
* {@inheritdoc}
*/
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static($entity_type, $container->get('config.factory'), $container->get('uuid'), $container->get('language_manager'), $container->get('plugin.manager.field.field_type'), $container->get('entity.memory_cache'));
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.