You are here

pm.views.inc in Drupal PM (Project Management) 7.3

Same filename and directory in other branches
  1. 8 includes/views/pm.views.inc
  2. 7.2 includes/views/pm.views.inc

Views definitions for pm module.

File

includes/views/pm.views.inc
View source
<?php

/**
 * @file
 * Views definitions for pm module.
 */

/**
 * Implements hook_views_data_alter().
 */
function pm_views_data_alter(&$data) {
  $data['node']['pm_handler_area_addcontent'] = array(
    'title' => t('PM Add Content Link'),
    'help' => t('Provides a link to add new content of the specified type to users with permissions to do so.'),
    'area' => array(
      'handler' => 'pm_handler_area_addcontent',
      'group' => t('Drupal PM'),
    ),
  );
  $data['node']['pm_handler_field_operation'] = array(
    'title' => t('PM Operations'),
    'help' => t('Exposes operations that could be performed on the given node.'),
    'field' => array(
      'handler' => 'pm_handler_field_operation',
      'group' => t('Drupal PM'),
    ),
  );
}

Functions

Namesort descending Description
pm_views_data_alter Implements hook_views_data_alter().