DateFormatFormBase::$dateFormatter

Same name in other branches
  1. 9 core/modules/system/src/Form/DateFormatFormBase.php \Drupal\system\Form\DateFormatFormBase::dateFormatter
  2. 8.9.x core/modules/system/src/Form/DateFormatFormBase.php \Drupal\system\Form\DateFormatFormBase::dateFormatter
  3. 11.x core/modules/system/src/Form/DateFormatFormBase.php \Drupal\system\Form\DateFormatFormBase::dateFormatter

The date formatter service.

Type: \Drupal\Core\Datetime\DateFormatterInterface

File

core/modules/system/src/Form/DateFormatFormBase.php, line 22

Class

DateFormatFormBase
Provides a base form for date formats.

Namespace

Drupal\system\Form

Code

protected $dateFormatter;

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