function BaseFieldOverrideStorage::createInstance
Same name in other branches
- 9 core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage::createInstance()
- 8.9.x core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage::createInstance()
- 10 core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage::createInstance()
Overrides ConfigEntityStorage::createInstance
File
-
core/
lib/ Drupal/ Core/ Field/ BaseFieldOverrideStorage.php, line 41
Class
- BaseFieldOverrideStorage
- Storage class for base field overrides.
Namespace
Drupal\Core\FieldCode
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'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.