You are here

spaces_ui.module in Spaces 7.3

Same filename and directory in other branches
  1. 6.3 spaces_ui/spaces_ui.module
  2. 7 spaces_ui/spaces_ui.module

File

spaces_ui/spaces_ui.module
View source
<?php

/**
 * Implements hook_ctools_plugin_directory().
 */
function spaces_ui_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools' && $plugin == 'export_ui') {
    return 'export_ui';
  }
}

/**
 * Implements hook_theme().
 */
function spaces_ui_theme() {
  $items = array();
  $items['spaces_preset_list_new'] = array(
    'render element' => 'form',
    'template' => 'spaces-preset-list-new',
    'path' => drupal_get_path('module', 'spaces_ui') . '/theme',
    'file' => 'theme.inc',
  );
  return $items;
}