function CurrentDateContext::getAvailableContexts

Overrides ContextProviderInterface::getAvailableContexts

File

src/ContextProvider/CurrentDateContext.php, line 53

Class

CurrentDateContext
Sets the current node as a context on node routes.

Namespace

Drupal\rules\ContextProvider

Code

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