You are here

public function SmartDateFormat::setAmpmReduce in Smart Date 3.4.x

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

File

src/Entity/SmartDateFormat.php, line 235

Class

SmartDateFormat
Defines the Smart date format entity.

Namespace

Drupal\smart_date\Entity

Code

public function setAmpmReduce($ampm_reduce) {
  $this
    ->set('ampm_reduce', $ampm_reduce);
  return $this;
}