You are here

swagger_ui_formatter.module in Swagger UI Field Formatter 8

Main module file for Swagger UI Field Formatter.

File

swagger_ui_formatter.module
View source
<?php

/**
 * @file
 * Main module file for Swagger UI Field Formatter.
 */

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

Functions

Namesort descending Description
swagger_ui_formatter_theme Implements hook_theme().