You are here

function image_browser_views_data_alter in Image Entity Browser 8

Implements hook_views_data_alter().

File

./image_browser.views.inc, line 11
Provide custom views data for rendering file previews.

Code

function image_browser_views_data_alter(&$data) {
  $data['file_managed']['image_browser_preview'] = array(
    'title' => t('Image Browser Preview'),
    'help' => t('Displays a preview of a file.'),
    'field' => array(
      'id' => 'image_browser_preview',
    ),
  );
}