protected function SqlContentEntityStorage::getStorageSchema
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\SqlCode
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!SqlContentEntityStorage.php/function/SqlContentEntityStorage::getStorageSchema/8.1.x