You are here

public function AdvaggSettersTrait::setDateFomatter in Advanced CSS/JS Aggregation 8.4

Set date formatter service.

Parameters

\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter service.

Return value

$this

File

src/AdvaggSettersTrait.php, line 163

Class

AdvaggSettersTrait
The trait setters of ADVAGG module.

Namespace

Drupal\advagg

Code

public function setDateFomatter(DateFormatterInterface $dateFormatter) {
  $this->dateFormatter = $dateFormatter;
  return $this;
}