routeMatch = $route_match; } /** * {@inheritdoc} */ public static function getLabel() { return t('Route'); } /** * {@inheritdoc} */ public function getContext() { return $this->routeMatch->getRouteName() . hash('sha256', serialize($this->routeMatch->getRawParameters()->all())); } /** * {@inheritdoc} */ public function getCacheableMetadata() { return new CacheableMetadata(); } }