You are here

function entity_reference_layout_theme in Entity Reference with Layout 8

Implements hook_theme().

File

./entity_reference_layout.module, line 33
Contains entity_reference_layout.module.

Code

function entity_reference_layout_theme() {
  return [
    'entity_reference_layout_widget' => [
      'render element' => 'form',
      'function' => 'theme_entity_reference_layout_widget',
    ],
    'entity_reference_layout_radio' => [
      'render element' => 'element',
      'function' => 'theme_entity_reference_layout_radio',
    ],
    'entity_reference_layout' => [
      'variables' => [
        'elements' => '',
        'content' => '',
      ],
    ],
  ];
}