You are here

function image_attach_views_data_alter in Image 6

Implementation of hook_views_data_alter().

File

contrib/image_attach/image_attach.views.inc, line 78

Code

function image_attach_views_data_alter(&$data) {

  // {node} table, prefixed with 'image_attach' to avoid potential clashes.
  // The images for attached image nodes.
  $data['node']['image_attach_images'] = array(
    'group' => t('Image attach'),
    'field' => array(
      'title' => t('Attached images'),
      'help' => t('The attached images, shown at a chosen size. This field can be added without a relationship.'),
      'handler' => 'image_attach_views_handler_field_attached_images',
    ),
  );
}