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\ContextProvider

Code

public function getAvailableContexts() {
    return $this->getRuntimeContexts([]);
}