Issue #3078633 by tim-diels, cindytwilliams: Documentation fix date render element
parent
c249eced8c
commit
683dda01d7
|
|
@ -16,7 +16,7 @@ use Drupal\Core\Render\Element;
|
||||||
* $form['expiration'] = [
|
* $form['expiration'] = [
|
||||||
* '#type' => 'date',
|
* '#type' => 'date',
|
||||||
* '#title' => $this->t('Content expiration'),
|
* '#title' => $this->t('Content expiration'),
|
||||||
* '#default_value' => 2020-02-05',
|
* '#default_value' => '2020-02-05',
|
||||||
* ];
|
* ];
|
||||||
* @endcode
|
* @endcode
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue