You are here

function tmgmt_ui_views_default_views in Translation Management Tool 7

Implements hook_views_default_views().

File

ui/tmgmt_ui.module, line 192
Common Translation managment UI.

Code

function tmgmt_ui_views_default_views() {
  $views = _tmgmt_load_exports('tmgmt_ui', 'views', 'view.inc', 'view');

  // Some source controllers might provide custom views.
  foreach (tmgmt_source_ui_controller() as $controller) {
    $views += $controller
      ->hook_views_default_views();
  }
  return $views;
}