You are here

protected property NodeController::$dateFormatter in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::dateFormatter
  2. 9 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::dateFormatter

The date formatter service.

Type: \Drupal\Core\Datetime\DateFormatterInterface

File

core/modules/node/src/Controller/NodeController.php, line 28

Class

NodeController
Returns responses for Node routes.

Namespace

Drupal\node\Controller

Code

protected $dateFormatter;