You are here

function angular_media_views_data_alter in CKEditor Widgets 7

Same name in this branch
  1. 7 angular_media.views.inc \angular_media_views_data_alter()
  2. 7 includes/angular_media.views.inc \angular_media_views_data_alter()

Implements hook_views_data_alter().

File

./angular_media.views.inc, line 11
Views integration for the angular_media module.

Code

function angular_media_views_data_alter(&$data) {

  // Rendered file.
  $data['file_managed']['image_style_url'] = array(
    'title' => t('Image Style URL'),
    'help' => t('Display the image style url'),
    'field' => array(
      'handler' => 'views_handler_field_file_image_style_url',
      'click sortable' => FALSE,
      'real field' => 'fid',
      'additional fields' => array(
        'fid',
      ),
    ),
  );
}