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

Code

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