You are here

public function SwaggerUiLibraryDiscovery::getCacheTags in Swagger UI Field Formatter 8.3

Same name in this branch
  1. 8.3 src/Service/SwaggerUiLibraryDiscovery.php \Drupal\swagger_ui_formatter\Service\SwaggerUiLibraryDiscovery::getCacheTags()
  2. 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\Service

Code

public function getCacheTags() : array {
  return $this->decorated
    ->getCacheTags();
}