You are here

function formassembly_theme in FormAssembly 8

Same name and namespace in other branches
  1. 7 formassembly.module \formassembly_theme()

Implements hook_theme().

File

./formassembly.module, line 46
Procedural code for formassembly module.

Code

function formassembly_theme($existing, $type, $theme, $path) {
  return [
    'fa_form__fa_form' => [
      'template' => 'fa_form__fa_form__markup',
      'base hook' => 'entity',
    ],
    'fa_form__external_js' => [
      'variables' => [
        'src' => NULL,
      ],
    ],
    'fa_form__inline_js' => [
      'variables' => [
        'value' => NULL,
      ],
    ],
    'fa_form__external_css' => [
      'variables' => [
        'value' => NULL,
        'rel' => NULL,
        'href' => NULL,
      ],
    ],
  ];
}