Issue #3078633 by tim-diels, cindytwilliams: Documentation fix date render element

merge-requests/55/head
Alex Pott 2019-09-22 00:13:04 +01:00
parent c249eced8c
commit 683dda01d7
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ use Drupal\Core\Render\Element;
* $form['expiration'] = [
* '#type' => 'date',
* '#title' => $this->t('Content expiration'),
* '#default_value' => 2020-02-05',
* '#default_value' => '2020-02-05',
* ];
* @endcode
*