You are here

protected function CivicrmEntityMetadataController::convertSchema in CiviCRM Entity 7

Same name and namespace in other branches
  1. 7.2 civicrm_entity_metadata_controller.inc \CivicrmEntityMetadataController::convertSchema()

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

Overrides EntityDefaultMetadataController::convertSchema

File

./civicrm_entity_metadata_controller.inc, line 15
Provides Entity metadata integration.

Class

CivicrmEntityMetadataController
Extend the default CiviCRM membership metadata properties.

Code

protected function convertSchema() {
  if (empty($this->info['base table'])) {
    return array();
  }
  return civicrm_entity_metadata_convert_schema($this->info['base table']);
}