MediaListBuilder::$dateFormatter

Same name in other branches
  1. 9 core/modules/media/src/MediaListBuilder.php \Drupal\media\MediaListBuilder::dateFormatter
  2. 8.9.x core/modules/media/src/MediaListBuilder.php \Drupal\media\MediaListBuilder::dateFormatter
  3. 11.x core/modules/media/src/MediaListBuilder.php \Drupal\media\MediaListBuilder::dateFormatter

The date formatter service.

Type: \Drupal\Core\Datetime\DateFormatterInterface

File

core/modules/media/src/MediaListBuilder.php, line 23

Class

MediaListBuilder
Provides a listing of media items.

Namespace

Drupal\media

Code

protected $dateFormatter;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.