Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 8.9.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
SqlContentEntityStorage::requiresFieldStorageSchemaChanges function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Checks if the changes to the storage definition requires schema changes.
SqlContentEntityStorage::restore function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Restores a previously saved entity.
SqlContentEntityStorage::save function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Saves the entity permanently.
SqlContentEntityStorage::saveRevision function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Saves an entity revision.
SqlContentEntityStorage::saveToDedicatedTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Saves values of fields that use dedicated tables.
SqlContentEntityStorage::saveToSharedTables function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Saves fields that use the shared tables.
SqlContentEntityStorage::setEntityType function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Updates the wrapped entity type definition.
SqlContentEntityStorage::setFieldStorageDefinitions function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Updates the internal list of field storage definitions.
SqlContentEntityStorage::setTableMapping function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Sets the wrapped table mapping definition.
SqlContentEntityStorage::setTemporary function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Changes the temporary state of the storage.
SqlContentEntityStorage::wrapSchemaException function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Wraps a database schema exception into an entity storage exception.
SqlContentEntityStorage::__construct function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Constructs a SqlContentEntityStorage object.
SqlContentEntityStorageException class core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageException.php Exception thrown when a SQL storage operation fails.
SqlContentEntityStorageException.php file core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageException.php
SqlContentEntityStorageRevisionDataCleanupTest class core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php Tests cleaning up revision data tables.
SqlContentEntityStorageRevisionDataCleanupTest.php file core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php
SqlContentEntityStorageRevisionDataCleanupTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php Set database dump files to be used.
SqlContentEntityStorageRevisionDataCleanupTest::testRevisionDataCleanup function core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php Tests that stale rows in the revision data table are deleted.
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::$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 the proper data type.
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.

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