You are here

public function SmartDateFormat::setSiteTimeToggle in Smart Date 3.0.x

Same name and namespace in other branches
  1. 3.1.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setSiteTimeToggle()
  2. 3.2.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setSiteTimeToggle()
  3. 3.3.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setSiteTimeToggle()
  4. 3.4.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setSiteTimeToggle()

File

src/Entity/SmartDateFormat.php, line 265

Class

SmartDateFormat
Defines the Smart date format entity.

Namespace

Drupal\smart_date\Entity

Code

public function setSiteTimeToggle($site_time_toggle) {
  $this
    ->set('site_time_toggle', $site_time_toggle);
  return $this;
}