You are here

function multiselect_theme in Multiselect 8

Same name and namespace in other branches
  1. 6 multiselect.module \multiselect_theme()
  2. 7 multiselect.module \multiselect_theme()
  3. 2.x multiselect.module \multiselect_theme()

Implements hook_theme().

File

./multiselect.module, line 48
Select multiple items in an easier way than the normal node-reference widget.

Code

function multiselect_theme() {
  return [
    'multiselect' => [
      'arguments' => [
        'element' => NULL,
      ],
      'render element' => 'element',
      'template' => 'multiselect',
    ],
  ];
}