You are here

function flickrfield_field_info in Flickr 6

Same name and namespace in other branches
  1. 5 field/flickrfield.module \flickrfield_field_info()
  2. 7 field/flickrfield.module \flickrfield_field_info()

Implements hook_field_info().

File

field/flickrfield.module, line 34
Defines a Flickr field type.

Code

function flickrfield_field_info() {
  return array(
    'flickrfield' => array(
      'label' => 'Flickr Photo',
      'description' => t('Store Flickr Photo or Photoset ids and display the photos in nodes and views.'),
    ),
    'flickrfield_photoset' => array(
      'label' => 'Flickr photo set',
      'description' => t('Field for storing a reference to a Flickr photo set.'),
    ),
  );
}