You are here

protected property CacheExampleForm::$dateFormatter in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/cache_example/src/Form/CacheExampleForm.php \Drupal\cache_example\Form\CacheExampleForm::dateFormatter

The date formatter service.

Type: \Drupal\Core\Datetime\DateFormatterInterface

File

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;