You are here

protected function AccessTokenListBuilder::setDateFormatter in Access unpublished 8

Sets the date formatter service.

Parameters

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

File

src/AccessTokenListBuilder.php, line 55

Class

AccessTokenListBuilder
Defines a class to build a listing of access token entities.

Namespace

Drupal\access_unpublished

Code

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