projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Render
/
Element
/
Email.php
diff --git
a/web/core/lib/Drupal/Core/Render/Element/Email.php
b/web/core/lib/Drupal/Core/Render/Element/Email.php
index dce2a344c4953a45737654dc4e8fa6141534b8e4..84bb35265c34215facefe4c03f5f2430ec562b47 100644
(file)
--- a/
web/core/lib/Drupal/Core/Render/Element/Email.php
+++ b/
web/core/lib/Drupal/Core/Render/Element/Email.php
@@
-11,12
+11,14
@@
use Drupal\Core\Render\Element;
* Properties:
* - #default_value: An RFC-compliant email address.
* - #size: The size of the input element in characters.
* Properties:
* - #default_value: An RFC-compliant email address.
* - #size: The size of the input element in characters.
+ * - #pattern: A string for the native HTML5 pattern attribute.
*
* Example usage:
* @code
* $form['email'] = array(
* '#type' => 'email',
* '#title' => $this->t('Email'),
*
* Example usage:
* @code
* $form['email'] = array(
* '#type' => 'email',
* '#title' => $this->t('Email'),
+ * '#pattern' => '*@example.com',
* );
* @end
*
* );
* @end
*