You are here

function outline_designer_theme in Outline Designer 6.2

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

Implements hook_theme().

8 string references to 'outline_designer_theme'
outline_designer_book_init in modules/outline_designer_book/outline_designer_book.module
Implementation of hook_init().
outline_designer_outline_designer_ops_js in ./outline_designer.module
Implementation of 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
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 219
API for implementation of the Outline Designer usability improvements.

Code

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