You are here

public function NodeRegistrationNodeSettings::date in Node registration 7

The event's start date + time.

File

includes/node_registration.node_settings.inc, line 102
Node settings class.

Class

NodeRegistrationNodeSettings
Node settings class.

Code

public function date() {
  return $this
    ->_cache(__FUNCTION__, function ($settings) {
    $settings->date_value = FALSE;
    if ($utc = $settings
      ->site_utc()) {
      return date('c', $utc);
    }
    return FALSE;
  });
}