You are here

function media_flickr_stream_wrappers in Media: Flickr 7.2

Same name and namespace in other branches
  1. 7 media_flickr.module \media_flickr_stream_wrappers()

Implements hook_stream_wrappers().

File

./media_flickr.module, line 29
Provides a stream wrapper and formatters appropriate for accessing and displaying Flickr images.

Code

function media_flickr_stream_wrappers() {
  return array(
    'flickr' => array(
      'name' => t('Flickr photos'),
      'class' => 'MediaFlickrStreamWrapper',
      'description' => t('Remote images hosted on the Flickr photo-sharing website.'),
      'type' => STREAM_WRAPPERS_READ_VISIBLE,
    ),
  );
}