public function OpenApiGeneratorBase::setOptions in OpenAPI 8.2
Same name and namespace in other branches
- 8 src/Plugin/openapi/OpenApiGeneratorBase.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorBase::setOptions()
Set the options for the current schema download.
@todo Document all options.
Parameters
array $options: The options for the specification generation.
- exclude: Array of Entity types or bundles to exclude in the format, "[ENTITY_TYPE]" or "[ENTITY_TYPE]:[BUNDLE]".
Overrides OpenApiGeneratorInterface::setOptions
File
- src/
Plugin/ openapi/ OpenApiGeneratorBase.php, line 155
Class
- OpenApiGeneratorBase
- Defines base class for OpenApi Generator plugins.
Namespace
Drupal\openapi\Plugin\openapiCode
public function setOptions($options) {
$this->options = $options;
}