UserController::$dateFormatter

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

The date formatter service.

Type: \Drupal\Core\Datetime\DateFormatterInterface

File

core/modules/user/src/Controller/UserController.php, line 31

Class

UserController
Controller routines for user routes.

Namespace

Drupal\user\Controller

Code

protected $dateFormatter;

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