class CivicrmEntityMetadataController in CiviCRM Entity 7
Same name and namespace in other branches
- 7.2 civicrm_entity_metadata_controller.inc \CivicrmEntityMetadataController
Extend the default CiviCRM membership metadata properties.
Hierarchy
Expanded class hierarchy of CivicrmEntityMetadataController
1 string reference to 'CivicrmEntityMetadataController'
- civicrm_entity_entity_info in ./
civicrm_entity.module - Here we declare selected CiviCRM entities to Drupal.
File
- ./
civicrm_entity_metadata_controller.inc, line 10 - Provides Entity metadata integration.
View source
class CivicrmEntityMetadataController extends EntityDefaultMetadataController {
/**
* Return a set of properties for an entity based on the schema definition.
*/
protected function convertSchema() {
if (empty($this->info['base table'])) {
return array();
}
return civicrm_entity_metadata_convert_schema($this->info['base table']);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CivicrmEntityMetadataController:: |
protected | function |
Return a set of properties for an entity based on the schema definition. Overrides EntityDefaultMetadataController:: |
|
EntityDefaultMetadataController:: |
protected | property | ||
EntityDefaultMetadataController:: |
public static | function | A options list callback returning all bundles for an entity type. | |
EntityDefaultMetadataController:: |
public | function | ||
EntityDefaultMetadataController:: |
public | function |