public function OpenApiUiInterface::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.
1 method overrides OpenApiUiInterface::build()
- OpenApiUi::build in src/
Plugin/ openapi_ui/ OpenApiUi.php - Render the tree for an openapi doc library.
File
- src/
Plugin/ openapi_ui/ OpenApiUiInterface.php, line 23
Class
- OpenApiUiInterface
- Defines the structure for an openapi_ui plugin.
Namespace
Drupal\openapi_ui\Plugin\openapi_uiCode
public function build(array $render_element);