public function SwaggerUiLibraryDiscovery::getCacheTags in Swagger UI Field Formatter 8.3
Same name in this branch
- 8.3 src/Service/SwaggerUiLibraryDiscovery.php \Drupal\swagger_ui_formatter\Service\SwaggerUiLibraryDiscovery::getCacheTags()
- 8.3 tests/modules/swagger_ui_formatter_test/src/Service/SwaggerUiLibraryDiscovery.php \Drupal\swagger_ui_formatter_test\Service\SwaggerUiLibraryDiscovery::getCacheTags()
The cache tags associated with this object.
When this object is modified, these cache tags will be invalidated.
Return value
string[] A set of cache tags.
Overrides CacheableDependencyInterface::getCacheTags
1 call to SwaggerUiLibraryDiscovery::getCacheTags()
- SwaggerUiLibraryDiscovery::libraryDirectory in src/
Service/ SwaggerUiLibraryDiscovery.php - Gets the Swagger UI library directory.
File
- src/
Service/ SwaggerUiLibraryDiscovery.php, line 189
Class
- SwaggerUiLibraryDiscovery
- Default Swagger UI library discovery service implementation.
Namespace
Drupal\swagger_ui_formatter\ServiceCode
public function getCacheTags() : array {
return [
self::LIBRARY_PATH_CID,
'config:system.theme',
];
}