You are here

public function SchemaMetatagClient::clearData in Schema.org Metatag 8.2

Clears all data from the cache.

To be used if the raw data file is updated.

Overrides SchemaMetatagClientInterface::clearData

File

src/SchemaMetatagClient.php, line 381

Class

SchemaMetatagClient
Class SchemaMetatagClient.

Namespace

Drupal\schema_metatag

Code

public function clearData() {
  $this->cacheBackend
    ->invalidateAll();
}