Same name in other branches
- 5.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setDateFomatter()
- 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setDateFomatter()
Set date formatter service.
Paramètres
\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter service.
Return value
$this
Fichier
-
src/
AdvaggSettersTrait.php, line 163
Classe
- AdvaggSettersTrait
- The trait setters of ADVAGG module.
Namespace
Drupal\advaggCode
public function setDateFomatter(DateFormatterInterface $dateFormatter) {
$this->dateFormatter = $dateFormatter;
return $this;
}