You are here

fusion_apply_ui_test.views_default.inc in Fusion Accelerator 7.2

Default views.

File

fusion_apply/tests/fusion_apply_ui_test/fusion_apply_ui_test.views_default.inc
View source
<?php

/**
 * @file
 * Default views.
 */

/**
 * Implementation of hook_views_default_views().
 */
function fusion_apply_ui_test_views_default_views() {
  static $views;
  if (isset($views)) {
    return $views;
  }
  $files = file_scan_directory(drupal_get_path('module', 'fusion_apply_ui_test') . '/views_default', '/\\.inc$/');
  foreach ($files as $filepath => $file) {
    include $filepath;
    if (isset($view)) {
      $views[$view->name] = $view;
    }
  }
  return $views;
}

Functions