You are here

function scald_theme in Scald: Media Management made easy 7

Same name and namespace in other branches
  1. 6 scald.module \scald_theme()

Implements hook_theme().

File

./scald.module, line 2497
The Scald Core, which handles all Scald Registries and dispatch.

Code

function scald_theme($existing, $type, $theme, $path) {
  return array(
    'scald_atom' => array(
      'render element' => 'elements',
      'template' => 'scald-atom',
    ),
    'scald_render_error' => array(
      'arguments' => array(
        'type' => NULL,
        'message' => NULL,
        'atom' => NULL,
      ),
    ),
  );
}