The date formatter service.
Type: \Drupal\Core\Datetime\DateFormatterInterface
File
- core/modules/node/src/Controller/NodeController.php, line 26
Class
- NodeController
- Returns responses for Node routes.
Namespace
Drupal\node\Controller
Code
protected $dateFormatter;
Please login to continue.