CacheExampleForm::$dateFormatter

Same name in other branches
  1. 8.x-1.x cache_example/src/Form/CacheExampleForm.php \Drupal\cache_example\Form\CacheExampleForm::dateFormatter
  2. 4.0.x modules/cache_example/src/Form/CacheExampleForm.php \Drupal\cache_example\Form\CacheExampleForm::dateFormatter

The date formatter service.

Type: \Drupal\Core\Datetime\DateFormatterInterface

File

modules/cache_example/src/Form/CacheExampleForm.php, line 35

Class

CacheExampleForm
Form with examples on how to use cache.

Namespace

Drupal\cache_example\Form

Code

protected $dateFormatter;