You are here

public function NodeGalleryRelationshipTypeMetadataController::entityPropertyInfo in Node Gallery 7

Overrides EntityDefaultMetadataController::entityPropertyInfo

File

./node_gallery_api.inc, line 1099
Node Gallery API function

Class

NodeGalleryRelationshipTypeMetadataController
Metadata Controller for Node Gallery Relationship Types

Code

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;
}