function CurrentPathContext::getAvailableContexts
Overrides ContextProviderInterface::getAvailableContexts
File
-
src/
ContextProvider/ CurrentPathContext.php, line 61
Class
- CurrentPathContext
- Makes the current path available as a context variable.
Namespace
Drupal\rules\ContextProviderCode
public function getAvailableContexts() {
return $this->getRuntimeContexts([]);
}