You are here

function features_theme in Features 7.2

Same name and namespace in other branches
  1. 6 features.module \features_theme()
  2. 7 features.module \features_theme()

Implements hook_theme().

File

./features.module, line 247
Main *.module file for the 'features' module.

Code

function features_theme() {
  $base = array(
    'path' => drupal_get_path('module', 'features') . '/theme',
    'file' => 'theme.inc',
  );
  $items = array();

  /* @see \theme_features_module_status() */
  $items['features_module_status'] = array(
    'variables' => array(
      'module' => NULL,
      'status' => NULL,
    ),
  ) + $base;

  /* @see \theme_features_components() */
  $items['features_components'] = array(
    'variables' => array(
      'info' => NULL,
      'sources' => NULL,
    ),
  ) + $base;

  /* @see \theme_features_component_key() */
  $items['features_component_key'] = $base;

  /* @see \theme_features_component_list() */
  $items['features_component_list'] = array(
    'variables' => array(
      'components' => array(),
      'source' => array(),
      'conflicts' => array(),
    ),
  ) + $base;

  /* @see \theme_features_storage_link() */
  $items['features_storage_link'] = array(
    'variables' => array(
      'storage' => NULL,
      'text' => NULL,
      'path' => NULL,
      'options' => array(),
    ),
  ) + $base;

  /* @see \theme_features_lock_link() */
  $items['features_lock_link'] = array(
    'variables' => array(
      'feature' => NULL,
      'component' => NULL,
      'locked' => FALSE,
    ),
  ) + $base;

  /* @see \theme_features_form_components() */
  $items['features_form_components'] = $items['features_form_export'] = $items['features_form_package'] = array(
    'render element' => 'form',
  ) + $base;

  /* @see \theme_features_form_buttons() */
  $items['features_form_buttons'] = array(
    'render element' => 'element',
  ) + $base;

  // Theme hook for 'features_admin_components' form.

  /* @see \template_preprocess_features_admin_components() */

  /* @see \features_admin_components() */
  $items['features_admin_components'] = array(
    'render element' => 'form',
    'template' => 'features-admin-components',
  ) + $base;
  return $items;
}