You are here

views_base_url.views.inc in Views base url 7

Views hook implementations.

File

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

/**
 * @file
 * Views hook implementations.
 */

/**
 * Implements hook_views_data_alter().
 */
function views_base_url_views_data_alter(&$data) {
  $data['views']['base_url'] = array(
    'title' => t('Base url'),
    'help' => t("Site's base url"),
    'field' => array(
      'handler' => 'ViewsBaseUrlHandlerBaseUrl',
    ),
  );
}

Functions