You are here

public function PaymentListBuilder::setDateFormatter in Payment 8.2

Sets the date formatter.

Parameters

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter.

File

src/Entity/Payment/PaymentListBuilder.php, line 66

Class

PaymentListBuilder
Lists payment entities.

Namespace

Drupal\payment\Entity\Payment

Code

public function setDateFormatter(DateFormatterInterface $date_formatter) {
  $this->dateFormatter = $date_formatter;
}