CurrentDateContext::$datetime

The datetime.time service.

Type: \Drupal\Component\Datetime\TimeInterface

File

src/ContextProvider/CurrentDateContext.php, line 22

Class

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

Namespace

Drupal\rules\ContextProvider

Code

protected $datetime;