You are here

function views_linkarea_views_data in Views link area 8

Same name and namespace in other branches
  1. 6 views_linkarea.views.inc \views_linkarea_views_data()
  2. 7 views_linkarea.views.inc \views_linkarea_views_data()

Implements hook_views_data().

File

./views_linkarea.views.inc, line 11
Provide views data for views_linkarea

Code

function views_linkarea_views_data() {
  $data = [];
  $data['views']['linkarea'] = [
    'title' => t('Link'),
    'help' => t('Provide an internal or external link.'),
    'area' => [
      'id' => 'linkarea',
    ],
  ];
  return $data;
}