You are here

views_linkarea.views.inc in Views link area 6

Same filename and directory in other branches
  1. 8 views_linkarea.views.inc
  2. 7 views_linkarea.views.inc

File

views_linkarea.views.inc
View source
<?php

/**
 * Implementation of hook_views_data()
 */
function views_linkarea_views_data() {
  $data['views']['link'] = array(
    'title' => t('Link'),
    'help' => t('Provide an internal or external link.'),
    'area' => array(
      'handler' => 'views_handler_area_link',
    ),
  );
  return $data;
}

/**
 * Implementation of hook_views_handlers().
 */
function views_linkarea_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'views_linkarea'),
    ),
    'handlers' => array(
      'views_handler_area_link' => array(
        'parent' => 'views_handler_area',
      ),
    ),
  );
}

Functions