Drupal 8  8.0.2
FieldStorageConfigStorage Class Reference
Inheritance diagram for FieldStorageConfigStorage:

Public Member Functions

 __construct (EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler, StateInterface $state, FieldTypePluginManagerInterface $field_type_manager)
 
- Public Member Functions inherited from ConfigEntityStorage
 __construct (EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager)
 
 loadRevision ($revision_id)
 
 deleteRevision ($revision_id)
 
 save (EntityInterface $entity)
 
 importCreate ($name, Config $new_config, Config $old_config)
 
 importUpdate ($name, Config $new_config, Config $old_config)
 
 importDelete ($name, Config $new_config, Config $old_config)
 
 importRename ($old_name, Config $new_config, Config $old_config)
 
 createFromStorageRecord (array $values)
 
 updateFromStorageRecord (ConfigEntityInterface $entity, array $values)
 
 loadOverrideFree ($id)
 
 loadMultipleOverrideFree (array $ids=NULL)
 
- Public Member Functions inherited from EntityStorageBase
 __construct (EntityTypeInterface $entity_type)
 
 getEntityTypeId ()
 
 getEntityType ()
 
 loadUnchanged ($id)
 
 resetCache (array $ids=NULL)
 
 create (array $values=array())
 
 load ($id)
 
 loadMultiple (array $ids=NULL)
 
 delete (array $entities)
 
 save (EntityInterface $entity)
 
 loadByProperties (array $values=array())
 
 getQuery ($conjunction= 'AND')
 
 getAggregateQuery ($conjunction= 'AND')
 
- Public Member Functions inherited from EntityHandlerBase
 setModuleHandler (ModuleHandlerInterface $module_handler)
 

Static Public Member Functions

static createInstance (ContainerInterface $container, EntityTypeInterface $entity_type)
 
- Static Public Member Functions inherited from ConfigEntityStorage
static createInstance (ContainerInterface $container, EntityTypeInterface $entity_type)
 
static getIDFromConfigName ($config_name, $config_prefix)
 

Protected Member Functions

 mapFromStorageRecords (array $records)
 
 mapToStorageRecord (EntityInterface $entity)
 
- Protected Member Functions inherited from ConfigEntityStorage
 getPrefix ()
 
 doCreate (array $values)
 
 doDelete ($entities)
 
 doSave ($id, EntityInterface $entity)
 
 mapToStorageRecord (EntityInterface $entity)
 
 has ($id, EntityInterface $entity)
 
 getFromStaticCache (array $ids)
 
 setStaticCache (array $entities)
 
 invokeHook ($hook, EntityInterface $entity)
 
 getQueryServiceName ()
 
- Protected Member Functions inherited from EntityStorageBase
 getFromStaticCache (array $ids)
 
 setStaticCache (array $entities)
 
 invokeHook ($hook, EntityInterface $entity)
 
 doCreate (array $values)
 
 doLoadMultiple (array $ids=NULL)
 
 postLoad (array &$entities)
 
 mapFromStorageRecords (array $records)
 
 has ($id, EntityInterface $entity)
 
 doDelete ($entities)
 
 doPreSave (EntityInterface $entity)
 
 doSave ($id, EntityInterface $entity)
 
 doPostSave (EntityInterface $entity, $update)
 
 buildPropertyQuery (QueryInterface $entity_query, array $values)
 
 getQueryServiceName ()
 
- Protected Member Functions inherited from EntityHandlerBase
 moduleHandler ()
 

Protected Attributes

 $moduleHandler
 
 $entityManager
 
 $state
 
 $fieldTypeManager
 
- Protected Attributes inherited from ConfigEntityStorage
 $uuidKey = 'uuid'
 
 $configFactory
 
 $configStorage
 
 $languageManager
 
 $entities = array()
 
 $overrideFree = FALSE
 
- Protected Attributes inherited from EntityStorageBase
 $entities = array()
 
 $entityTypeId
 
 $entityType
 
 $idKey
 
 $uuidKey
 
 $langcodeKey
 
 $uuidService
 
 $entityClass
 
- Protected Attributes inherited from EntityHandlerBase
 $moduleHandler
 

Additional Inherited Members

- Data Fields inherited from ConfigEntityStorage
const MAX_ID_LENGTH = 166
 
- Data Fields inherited from EntityStorageInterface
const FIELD_LOAD_CURRENT = 'FIELD_LOAD_CURRENT'
 
const FIELD_LOAD_REVISION = 'FIELD_LOAD_REVISION'
 

Detailed Description

Controller class for "field storage" configuration entities.

Constructor & Destructor Documentation

__construct ( EntityTypeInterface  $entity_type,
ConfigFactoryInterface  $config_factory,
UuidInterface  $uuid_service,
LanguageManagerInterface  $language_manager,
EntityManagerInterface  $entity_manager,
ModuleHandlerInterface  $module_handler,
StateInterface  $state,
FieldTypePluginManagerInterface  $field_type_manager 
)

Constructs a FieldStorageConfigStorage object.

Parameters
\Drupal\Core\Entity\EntityTypeInterface$entity_typeThe entity type definition.
\Drupal\Core\Config\ConfigFactoryInterface$config_factoryThe config factory service.
\Drupal\Component\Uuid\UuidInterface$uuid_serviceThe UUID service.
\Drupal\Core\Language\LanguageManagerInterface$language_managerThe language manager.
\Drupal\Core\Entity\EntityManagerInterface$entity_managerThe entity manager.
\Drupal\Core\Extension\ModuleHandlerInterface$module_handlerThe module handler.
\Drupal\Core\State\StateInterface$stateThe state key value store.
\Drupal\Component\Plugin\PluginManagerInterface\FieldTypePluginManagerInterfaceThe field type plugin manager.

References Drupal\entityManager(), EntityHandlerBase\moduleHandler(), and Drupal\state().

Here is the call graph for this function:

Member Function Documentation

static createInstance ( ContainerInterface  $container,
EntityTypeInterface  $entity_type 
)
static

{Instantiates a new instance of this entity handler.This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe service container this object should use.
\Drupal\Core\Entity\EntityTypeInterface$entity_typeThe entity type definition.
Returns
static A new instance of the entity handler.
}

Implements EntityHandlerInterface.

References EntityTypeInterface\get().

Here is the call graph for this function:

mapFromStorageRecords ( array  $records)
protected

{}

mapToStorageRecord ( EntityInterface  $entity)
protected

{}


The documentation for this class was generated from the following file: