The date formatter service.
Type: \Drupal\Core\Datetime\DateFormatterInterface
File
- core/modules/contact/src/MessageForm.php, line 51
Class
- MessageForm
- Form controller for contact message forms.
Namespace
Drupal\contact
Code
protected $dateFormatter;
Please login to continue.