You are here

public function SmartDateFormat::setSeparator in Smart Date 8.2

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

File

src/Entity/SmartDateFormat.php, line 197

Class

SmartDateFormat
Defines the Smart date format entity.

Namespace

Drupal\smart_date\Entity

Code

public function setSeparator($separator) {
  $this
    ->set('separator', $separator);
  return $this;
}