public function PrivateMessageThreadCacheContext::__construct in Private Message 8
Same name and namespace in other branches
- 8.2 src/Cache/Context/PrivateMessageThreadCacheContext.php \Drupal\private_message\Cache\Context\PrivateMessageThreadCacheContext::__construct()
Constructs a new UserCacheContextBase class.
Parameters
\Drupal\Core\Routing\ResettableStackedRouteMatchInterface $currentRouteMatcher: The current route matcher.
File
- src/
Cache/ Context/ PrivateMessageThreadCacheContext.php, line 29
Class
- PrivateMessageThreadCacheContext
- Defines the PrivateMessageThread service, for "per thread" caching.
Namespace
Drupal\private_message\Cache\ContextCode
public function __construct(ResettableStackedRouteMatchInterface $currentRouteMatcher) {
$this->currentRouteMatcher = $currentRouteMatcher;
}