You are here

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

Namesort descending Modifiers Type Description Overrides
EntityDefaultMetadataController::$type protected property
EntityDefaultMetadataController::bundleOptionsList public static function A options list callback returning all bundles for an entity type.
EntityDefaultMetadataController::convertSchema protected function Return a set of properties for an entity based on the schema definition
EntityDefaultMetadataController::__construct public function
NodeGalleryRelationshipTypeMetadataController::entityPropertyInfo public function Overrides EntityDefaultMetadataController::entityPropertyInfo