You are here

function domain_locale_theme in Domain Locale 7

Same name and namespace in other branches
  1. 6 domain_locale.module \domain_locale_theme()

Implements hook_theme().

Theme functions

File

./domain_locale.module, line 496
Provides domain specific language settings.

Code

function domain_locale_theme($existing, $type, $theme, $path) {
  $admin_file = 'domain_locale.admin.inc';
  $themes = array(
    'domain_locale_form' => array(
      'render element' => 'form',
    ),
    'domain_locale_reset' => array(
      'arguments' => array(
        'domain' => array(),
      ),
    ),
  );
  foreach ($themes as $element => $info) {
    $info['file'] = $admin_file;
  }
  return $themes;
}