You are here

public function OpenApiUi::build in OpenAPI UI 8

Render the tree for an openapi doc library.

The callback is trigged to allow the plugin to define the plugin or library specific rendering which needs to happen in order to construct the element.

Parameters

array $render_element: The render array structure for the element which is triggering the build of this plugin's rendering.

Return value

array The processed render array.

Overrides OpenApiUiInterface::build

File

src/Plugin/openapi_ui/OpenApiUi.php, line 15

Class

OpenApiUi
Defines the structure for an openapi_ui plugin.

Namespace

Drupal\openapi_ui\Plugin\openapi_ui

Code

public function build(array $render_element) {
  return [];
}