UserController::$dateFormatter

Same name in other branches
  1. 9 core/modules/user/src/Controller/UserController.php \Drupal\user\Controller\UserController::dateFormatter
  2. 8.9.x 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 32

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.