You are here

function restful_angular_example_theme in RESTful 7

Implements hook_theme().

File

modules/restful_angular_example/restful_angular_example.module, line 50
Example module for the RESTful AngularJs module.

Code

function restful_angular_example_theme() {
  $theme['restful_angular_example_angular'] = array(
    'template' => 'restful-angular',
    'path' => drupal_get_path('module', 'restful_angular_example') . '/templates',
    'variables' => array(
      'url' => NULL,
      'controller' => NULL,
    ),
  );
  $theme['restful_angular_example_html'] = array(
    'template' => 'restful-angular-html',
    'path' => drupal_get_path('module', 'restful_angular_example') . '/templates',
    'variables' => array(
      'language' => NULL,
      'head_title' => NULL,
      'favicon' => NULL,
      'styles' => NULL,
      'scripts' => NULL,
      'messages' => NULL,
      'content' => NULL,
    ),
  );
  return $theme;
}