The date formatter service.
Type: \Drupal\Core\Datetime\DateFormatterInterface
File
- core/modules/user/src/Controller/UserController.php, line 28
Class
- UserController
- Controller routines for user routes.
Namespace
Drupal\user\Controller
Code
protected $dateFormatter;
Please login to continue.