You are here

function outline_designer_theme in Outline Designer 7.2

Same name and namespace in other branches
  1. 6.2 outline_designer.module \outline_designer_theme()
  2. 6 outline_designer.module \outline_designer_theme()
  3. 7 outline_designer.module \outline_designer_theme()

Implements hook_theme().

6 string references to 'outline_designer_theme'
outline_designer_book_admin_overview in modules/outline_designer_book/outline_designer_book.module
Menu callback. Overrides the book_admin_overview at admin/content/book.
outline_designer_outline_designer_ops_js in ./outline_designer.module
Implements hook_outline_designer_ops_js().
outline_designer_settings in ./outline_designer.module
Helper function to make outline designer settings more obvious.
outline_designer_uninstall in ./outline_designer.install
Implements hook_uninstall().
theme_outline_designer_overlay_suffix in ./outline_designer.module
Suffix adds the info to tack on the end of the form

... See full list

File

./outline_designer.module, line 260
API for implementation of the Outline Designer usability improvements.

Code

function outline_designer_theme() {
  $theme = array(
    'outline_designer_context_menu_items_matrix' => array(
      'render element' => 'form',
    ),
    'outline_designer_suffix' => array(
      'variables' => array(
        'nid' => NULL,
        'icon_path' => NULL,
      ),
    ),
    'outline_designer_prefix' => array(
      'variables' => array(
        'type' => NULL,
        'nid' => NULL,
        'icon_path' => NULL,
      ),
    ),
    'outline_designer_overlay_suffix' => array(
      'variables' => array(
        'render' => NULL,
      ),
    ),
    'outline_designer_ui_prefix' => array(
      'variables' => array(
        'node' => NULL,
        'icon_path' => NULL,
        'can_add' => NULL,
      ),
    ),
  );
  return $theme;
}