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::flushCaches in tests/
modules/ swagger_ui_formatter_test/ src/ Service/ SwaggerUiLibraryDiscovery.php - Flushes caches for tests.
File
- tests/
modules/ swagger_ui_formatter_test/ src/ Service/ SwaggerUiLibraryDiscovery.php, line 133
Class
- SwaggerUiLibraryDiscovery
- Decorator service for testing.
Namespace
Drupal\swagger_ui_formatter_test\ServiceCode
public function getCacheTags() : array {
return $this->decorated
->getCacheTags();
}