You are here

protected function EntityDefaultMetadataController::convertSchema in Entity API 7

Return a set of properties for an entity based on the schema definition

1 call to EntityDefaultMetadataController::convertSchema()
EntityDefaultMetadataController::entityPropertyInfo in ./entity.info.inc

File

./entity.info.inc, line 135
Provides basic entity property info for entities provided via the CRUD API, as well as property info for all entity types defined by core. For that the respective modules/MODULE.info.inc files are included.

Class

EntityDefaultMetadataController
Default controller for generating some basic metadata for CRUD entity types.

Code

protected function convertSchema() {
  return entity_metadata_convert_schema($this->info['base table']);
}