views_current_path.module in Views Current Path (Global: Current Path) 7
Hooks and related function for Views Current Path.
File
views_current_path.moduleView source
<?php
/**
* @file
* Hooks and related function for Views Current Path.
*/
/**
* Implements hook_views_api().
*/
function views_current_path_views_api() {
return array(
'api' => 3,
);
}
/**
* Implements hook_views_data().
*/
function views_current_path_views_data() {
$data['views']['current_path'] = array(
'title' => t('Current Path'),
'help' => t('The path of the page currently being viewed.'),
'field' => array(
'handler' => 'views_current_path_views_handler_field_current_path',
),
);
return $data;
}
Functions
Name![]() |
Description |
---|---|
views_current_path_views_api | Implements hook_views_api(). |
views_current_path_views_data | Implements hook_views_data(). |