function views_get_all_templates

cis7 views.module views_get_all_templates()
cle7 views.module views_get_all_templates()
elmsmedia7 views.module views_get_all_templates()
icor7 views.module views_get_all_templates()
meedjum_blog7 views.module views_get_all_templates()
mooc7 views.module views_get_all_templates()

Get all view templates.

Templates are special in-code views that are never active, but exist only to be cloned into real views as though they were templates.

3 calls to views_get_all_templates()
views_ui::add_template_page in sites/all/modules/ulmus/views/plugins/export_ui/views_ui.class.php
views_ui_add_template_page in sites/all/modules/ulmus/views/includes/
views_ui_menu in sites/all/modules/ulmus/views/views_ui.module
Implements hook_menu().


sites/all/modules/ulmus/views/views.module, line 1342
Primarily Drupal hooks and global API functions to manipulate views.


function views_get_all_templates() {
  $templates = array();
  $modules = views_module_include('views_template');

  foreach ($modules as $module => $info) {
    $function = $module . '_views_templates';
    if (function_exists($function)) {
      $new = $function();
      if ($new && is_array($new)) {
        $templates = array_merge($new, $templates);

  return $templates;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.