You are here

public function SmartDateFormat::setTimeHourFormat in Smart Date 3.1.x

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

File

src/Entity/SmartDateFormat.php, line 175

Class

SmartDateFormat
Defines the Smart date format entity.

Namespace

Drupal\smart_date\Entity

Code

public function setTimeHourFormat($time_hour_format) {
  $this
    ->set('time_hour_format', $time_hour_format);
  return $this;
}