function BaseFieldOverrideStorage::createInstance

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage::createInstance()
  2. 8.9.x core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage::createInstance()
  3. 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\Field

Code

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.