You are here

function publishcontent_views_handlers in Publish Content 6

Implements hook_views_handlers().

File

./publishcontent.module, line 235
Add button to publish or unpublish a node, with access control based on the node type

Code

function publishcontent_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'publishcontent'),
    ),
    'handlers' => array(
      // field handlers
      'publishcontent_views_handler_field_node_link' => array(
        'parent' => 'views_handler_field',
      ),
    ),
  );
}