NodeListBuilder::$dateFormatter

Same name in other branches
  1. 8.9.x core/modules/node/src/NodeListBuilder.php \Drupal\node\NodeListBuilder::dateFormatter
  2. 10 core/modules/node/src/NodeListBuilder.php \Drupal\node\NodeListBuilder::dateFormatter
  3. 11.x core/modules/node/src/NodeListBuilder.php \Drupal\node\NodeListBuilder::dateFormatter

The date formatter service.

Type: \Drupal\Core\Datetime\DateFormatterInterface

File

core/modules/node/src/NodeListBuilder.php, line 25

Class

NodeListBuilder
Defines a class to build a listing of node entities.

Namespace

Drupal\node

Code

protected $dateFormatter;

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