You are here

function config_pages_theme in Config Pages 7

Same name and namespace in other branches
  1. 8.3 config_pages.module \config_pages_theme()
  2. 8 config_pages.module \config_pages_theme()
  3. 8.2 config_pages.module \config_pages_theme()

Implement hook_theme().

File

./config_pages.module, line 148
This module is based on Model module (https://drupal.org/project/model) and most of the comments left untouched but have entity types renamed. Suuport for features added.

Code

function config_pages_theme($existing, $type, $theme, $path) {
  $hooks['config_pages'] = array(
    'render element' => 'elements',
    'template' => 'config_pages',
  );
  return $hooks;
}