You are here

public function OpenApiGeneratorBase::getDefinitions in OpenAPI 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/openapi/OpenApiGeneratorBase.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorBase::getDefinitions()

Get model definitions for Drupal entities and bundles.

Return value

array The model definitions.

Overrides OpenApiGeneratorInterface::getDefinitions

2 calls to OpenApiGeneratorBase::getDefinitions()
OpenApiGeneratorBase::definitionExists in src/Plugin/openapi/OpenApiGeneratorBase.php
Check whether a definitions exists for a key.
OpenApiGeneratorBase::getSpecification in src/Plugin/openapi/OpenApiGeneratorBase.php
Generates OpenAPI specification.

File

src/Plugin/openapi/OpenApiGeneratorBase.php, line 324

Class

OpenApiGeneratorBase
Defines base class for OpenApi Generator plugins.

Namespace

Drupal\openapi\Plugin\openapi

Code

public function getDefinitions() {
  return [];
}