protected SqlContentEntityStorage::getStorageSchema()
Gets the entity type's storage schema object.
Return value
\Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema The schema object.
File
- core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 242
Class
- SqlContentEntityStorage
- A content entity database storage implementation.
Namespace
Drupal\Core\Entity\Sql
Code
1 2 3 4 5 6 7 | protected function getStorageSchema() { if (!isset( $this ->storageSchema)) { $class = $this ->entityType->getHandlerClass( 'storage_schema' ) ? : 'Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema' ; $this ->storageSchema = new $class ( $this ->entityManager, $this ->entityType, $this , $this ->database); } return $this ->storageSchema; } |
Please login to continue.