ResettablePathMatcher.php in Tome 8
Namespace
Drupal\tome_staticFile
modules/tome_static/src/ResettablePathMatcher.phpView source
<?php
namespace Drupal\tome_static;
use Drupal\Core\Path\PathMatcher;
/**
* Decorates the path matcher to allow for resetting of static cache.
*
* @internal
*/
class ResettablePathMatcher extends PathMatcher {
/**
* Resets the static.
*/
public function resetCache() {
$this->isCurrentFrontPage = NULL;
}
}
Classes
Name | Description |
---|---|
ResettablePathMatcher | Decorates the path matcher to allow for resetting of static cache. |