You are here

function panelizer_views_data_alter in Panelizer 7

Same name and namespace in other branches
  1. 6 plugins/views/panelizer.views.inc \panelizer_views_data_alter()
  2. 7.3 plugins/views/panelizer.views.inc \panelizer_views_data_alter()
  3. 7.2 plugins/views/panelizer.views.inc \panelizer_views_data_alter()

Implementation of hook_views_data_alter().

File

plugins/views/panelizer.views.inc, line 10
Panelizer views integration code.

Code

function panelizer_views_data_alter(&$data) {
  $data['node']['panelizer_link'] = array(
    'field' => array(
      'title' => t('Panelizer link'),
      'help' => t('Provide a link to panelizer-related operations on the content.'),
      'handler' => 'panelizer_handler_field_node_link',
    ),
  );
}