You are here

function swagger_ui_formatter_theme in Swagger UI Field Formatter 8.2

Same name and namespace in other branches
  1. 8.3 swagger_ui_formatter.module \swagger_ui_formatter_theme()
  2. 8 swagger_ui_formatter.module \swagger_ui_formatter_theme()
  3. 7.2 swagger_ui_formatter.module \swagger_ui_formatter_theme()
  4. 7 swagger_ui_formatter.module \swagger_ui_formatter_theme()

Implements hook_theme().

File

./swagger_ui_formatter.module, line 26
Main module file for Swagger UI Field Formatter.

Code

function swagger_ui_formatter_theme($existing, $type, $theme, $path) {
  return [
    'swagger_ui_field_item' => [
      'variables' => [
        'field_name' => NULL,
        'delta' => NULL,
      ],
    ],
  ];
}