You are here

function tmgmt_views_plugins in Translation Management Tool 7

Implements hook_views_plugins().

File

./tmgmt.module, line 1512
Main module file for the Translation Management module.

Code

function tmgmt_views_plugins() {
  $plugins = array(
    'access' => array(
      'tmgmt_views_job_access' => array(
        'title' => t('Job view access'),
        'help' => t('Check if the user is allowed to view jobs'),
        'handler' => 'tmgmt_views_job_access',
        'path' => drupal_get_path('module', 'tmgmt') . '/views/plugins',
      ),
    ),
  );
  return $plugins;
}