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