NodeController::$dateFormatter
Same name in other branches
- 8.9.x core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::dateFormatter
- 10 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::dateFormatter
- 11.x 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\ControllerCode
protected $dateFormatter;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.