Unverified Commit f7099b7d authored by lauriii's avatar lauriii

Issue #3167196 by sarvjeetsingh, davidhernandez, Chi: Fix...

Issue #3167196 by sarvjeetsingh, davidhernandez, Chi: Fix DrupalCoreRenderElementEmail documentation

(cherry picked from commit fe434eea)
parent 5e5959e7
......@@ -15,14 +15,14 @@
*
* Example usage:
* @code
* $form['email'] = array(
* $form['email'] = [
* '#type' => 'email',
* '#title' => $this->t('Email'),
* '#pattern' => '*@example.com',
* );
* @end
* ];
* @endcode
*
* @see \Drupal\Core\Render\Element\Render\Textfield
* @see \Drupal\Core\Render\Element\Textfield
*
* @FormElement("email")
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment