public function SmartDateFormat::setDateFirst in Smart Date 3.1.x
Same name and namespace in other branches
- 8.2 src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setDateFirst()
- 8 src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setDateFirst()
- 3.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setDateFirst()
- 3.0.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setDateFirst()
- 3.2.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setDateFirst()
- 3.3.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setDateFirst()
- 3.4.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::setDateFirst()
File
- src/
Entity/ SmartDateFormat.php, line 250
Class
- SmartDateFormat
- Defines the Smart date format entity.
Namespace
Drupal\smart_date\EntityCode
public function setDateFirst($date_first) {
$this
->set('date_first', $date_first);
return $this;
}