You are here

function emaillog_theme in Logging and alerts 8

Same name and namespace in other branches
  1. 6.2 emaillog/emaillog.module \emaillog_theme()
  2. 6 emaillog/emaillog.module \emaillog_theme()
  3. 7.2 emaillog/emaillog.module \emaillog_theme()
  4. 7 emaillog/emaillog.module \emaillog_theme()
  5. 2.0.x emaillog/emaillog.module \emaillog_theme()

Implements hook_theme().

File

emaillog/emaillog.module, line 30
Drupal Module: Email Logging and Alerts.

Code

function emaillog_theme() {
  return [
    'emaillog' => [
      'render element' => 'elements',
      'template' => 'emaillog',
      'variables' => [
        'log' => NULL,
      ],
    ],
    'emaillog_admin_settings' => [
      'render element' => 'form',
      'function' => 'theme_emaillog_admin_settings',
    ],
  ];
}