You are here

function views_data_export_theme in Views data export 7.4

Same name and namespace in other branches
  1. 8 views_data_export.module \views_data_export_theme()
  2. 6.3 views_data_export.module \views_data_export_theme()
  3. 6 views_data_export.module \views_data_export_theme()
  4. 6.2 views_data_export.module \views_data_export_theme()
  5. 7 views_data_export.module \views_data_export_theme()
  6. 7.3 views_data_export.module \views_data_export_theme()

Implementation of hook_theme().

File

./views_data_export.module, line 36
Provides the ability to export to specific

Code

function views_data_export_theme() {

  // Make sure that views picks up the preprocess functions.
  module_load_include('inc', 'views_data_export', 'theme/views_data_export.theme');
  $hooks = array();
  $hooks['views_data_export_feed_icon'] = array(
    'pattern' => 'views_data_export_feed_icon__',
    'variables' => array(
      'image_path' => NULL,
      'url' => NULL,
      'query' => '',
      'text' => '',
    ),
    'file' => 'theme/views_data_export.theme.inc',
  );
  $hooks['views_data_export_complete_page'] = array(
    'variables' => array(
      'file' => '',
      'errors' => array(),
      'return_url' => '',
    ),
    'file' => 'theme/views_data_export.theme.inc',
  );
  $hooks['views_data_export_message'] = array(
    'variables' => array(
      'message' => '',
      'type' => 'info',
    ),
    'file' => 'theme/views_data_export.theme.inc',
  );
  return $hooks;
}