You are here

function field_orbit_theme in ZURB Orbit 8

Same name and namespace in other branches
  1. 7.2 field_orbit.module \field_orbit_theme()
  2. 7 field_orbit.module \field_orbit_theme()

Implements hook_theme().

File

./field_orbit.module, line 13
Implement a orbit formatter for fields.

Code

function field_orbit_theme($existing, $type, $theme, $path) {
  return [
    'field_orbit' => [
      'variables' => [
        'image' => NULL,
        'items' => NULL,
        'options' => NULL,
        'entity' => NULL,
        'orbit_id' => NULL,
      ],
      'template' => 'field-orbit',
    ],
  ];
}