class NodeGalleryRelationshipTypeMetadataController in Node Gallery 7
Metadata Controller for Node Gallery Relationship Types
Hierarchy
Expanded class hierarchy of NodeGalleryRelationshipTypeMetadataController
1 string reference to 'NodeGalleryRelationshipTypeMetadataController'
- node_gallery_api_entity_info in ./
node_gallery_api.module - Implements hook_entity_info().
File
- ./
node_gallery_api.inc, line 1097 - Node Gallery API function
View source
class NodeGalleryRelationshipTypeMetadataController extends EntityDefaultMetadataController {
public function entityPropertyInfo() {
$info = parent::entityPropertyInfo();
$properties =& $info[$this->type]['properties'];
$properties['filefield_name']['label'] = t('File Field Name');
$properties['filefield_name']['description'] = t('The name of the file field for this Node Gallery relationship type.');
return $info;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDefaultMetadataController:: |
protected | property | ||
EntityDefaultMetadataController:: |
public static | function | A options list callback returning all bundles for an entity type. | |
EntityDefaultMetadataController:: |
protected | function | Return a set of properties for an entity based on the schema definition | |
EntityDefaultMetadataController:: |
public | function | ||
NodeGalleryRelationshipTypeMetadataController:: |
public | function |
Overrides EntityDefaultMetadataController:: |