function SiteContext::getAvailableContexts
Overrides ContextProviderInterface::getAvailableContexts
File
-
src/
ContextProvider/ SiteContext.php, line 71
Class
- SiteContext
- Sets the current node as a context on node routes.
Namespace
Drupal\rules\ContextProviderCode
public function getAvailableContexts() {
return $this->getRuntimeContexts([]);
}