views_views_data

function views_views_data

views_views_data()

Implements hook_views_data().

File

core/modules/views/views.views.inc, line 19
Provide views data that isn't tied to any other module.

Code

function views_views_data() {
  $data['views']['table']['group'] = t('Global');
  $data['views']['table']['join'] = array(
    // #global is a special flag which allows a table to appear all the time.
    '#global' => array(),
  );

  $data['views']['random'] = array(
    'title' => t('Random'),
    'help' => t('Randomize the display order.'),
    'sort' => array(
      'id' => 'rand