Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 10.3.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
SqlContentEntityStorageSchema class core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Defines a schema handler that supports revisionable, translatable entities.
SqlContentEntityStorageSchema.php file core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
SqlContentEntityStorageSchema::$database property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The database connection to be used.
SqlContentEntityStorageSchema::$deletedFieldsRepository property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The deleted fields repository.
SqlContentEntityStorageSchema::$deprecatedProperties property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
SqlContentEntityStorageSchema::$entityFieldManager property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The entity field manager service.
SqlContentEntityStorageSchema::$entityType property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The entity type this schema builder is responsible for.
SqlContentEntityStorageSchema::$entityTypeManager property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The entity type manager.
SqlContentEntityStorageSchema::$fieldStorageDefinitions property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The storage field definitions for this entity type.
SqlContentEntityStorageSchema::$installedStorageSchema property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The key-value collection for tracking installed storage schema.
SqlContentEntityStorageSchema::$schema property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php A static cache of the generated schema array.
SqlContentEntityStorageSchema::$storage property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The storage object for the given entity type.
SqlContentEntityStorageSchema::$updateBackupRepository property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The key-value collection for tracking entity update backup repository.
SqlContentEntityStorageSchema::addIndex function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates an index, dropping it if already existing.
SqlContentEntityStorageSchema::addSharedTableFieldForeignKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds a foreign key for the specified field to the given schema definition.
SqlContentEntityStorageSchema::addSharedTableFieldIndex function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds an index for the specified field to the given schema definition.
SqlContentEntityStorageSchema::addSharedTableFieldUniqueKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds a unique key for the specified field to the given schema definition.
SqlContentEntityStorageSchema::addTableDefaults function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds defaults to a table schema definition.
SqlContentEntityStorageSchema::addUniqueKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates a unique key, dropping it if already existing.
SqlContentEntityStorageSchema::castValue function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Typecasts values to proper datatypes.
SqlContentEntityStorageSchema::checkEntityType function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Checks that we are dealing with the correct entity type.
SqlContentEntityStorageSchema::createDedicatedTableSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates the schema for a field stored in a dedicated table.
SqlContentEntityStorageSchema::createEntitySchemaIndexes function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates the specified entity schema indexes and keys.
SqlContentEntityStorageSchema::createSharedTableSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates the schema for a field stored in a shared table.
SqlContentEntityStorageSchema::deleteDedicatedTableSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Deletes the schema for a field stored in a dedicated table.
SqlContentEntityStorageSchema::deletedFieldsRepository function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the deleted fields repository.
SqlContentEntityStorageSchema::deleteEntitySchemaData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Deletes schema data for the given entity type definition.
SqlContentEntityStorageSchema::deleteEntitySchemaIndexes function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Deletes the specified entity schema indexes and keys.
SqlContentEntityStorageSchema::deleteFieldSchemaData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Deletes schema data for the given field storage definition.
SqlContentEntityStorageSchema::deleteSharedTableSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Deletes the schema for a field stored in a shared table.
SqlContentEntityStorageSchema::finalizePurge function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Performs final cleanup after all data of a field has been purged.
SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Returns a list of column schema keys affecting data storage.
SqlContentEntityStorageSchema::getDedicatedTableSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the SQL schema for a dedicated table.
SqlContentEntityStorageSchema::getEntityIndexName function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the name to be used for the given entity index.
SqlContentEntityStorageSchema::getEntitySchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the entity schema for the specified entity type.
SqlContentEntityStorageSchema::getEntitySchemaData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets entity schema definitions for index and key definitions.
SqlContentEntityStorageSchema::getEntitySchemaTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a list of entity type tables.
SqlContentEntityStorageSchema::getFieldForeignKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets field foreign keys.
SqlContentEntityStorageSchema::getFieldIndexes function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets an index schema array for a given field.
SqlContentEntityStorageSchema::getFieldIndexName function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Generates an index name for a field data table.
SqlContentEntityStorageSchema::getFieldSchemaData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets field schema data for the given key.
SqlContentEntityStorageSchema::getFieldSchemaIdentifierName function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Generates a safe schema identifier (name of an index, column name etc.).
SqlContentEntityStorageSchema::getFieldUniqueKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a unique key schema array for a given field.
SqlContentEntityStorageSchema::getSchemaFromStorageDefinition function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the schema data for the given field storage definition.
SqlContentEntityStorageSchema::getSelectQueryForFieldStorageDeletion function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Returns a SELECT query suitable for inserting data into a dedicated table.
SqlContentEntityStorageSchema::getSharedTableFieldSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets the schema for a single field definition.
SqlContentEntityStorageSchema::getTableMapping function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Refreshes the table mapping with updated definitions.
SqlContentEntityStorageSchema::getTableNames function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a list of table names for this entity type, field storage and mapping.
SqlContentEntityStorageSchema::getTemporaryTableMappingPrefix function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a string to be used as a prefix for a temporary table mapping object.
SqlContentEntityStorageSchema::handleEntityTypeSchemaUpdateExceptionOnDataCopy function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Handles the case when an error occurs during the data copying step.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.