projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Render
/
Element
/
Password.php
diff --git
a/web/core/lib/Drupal/Core/Render/Element/Password.php
b/web/core/lib/Drupal/Core/Render/Element/Password.php
index 4ba2058397dc01f6c455749c1a8c6b6daa6872ad..c40bb4c25abafd6a4ac8a44b2355814b26d78cc9 100644
(file)
--- a/
web/core/lib/Drupal/Core/Render/Element/Password.php
+++ b/
web/core/lib/Drupal/Core/Render/Element/Password.php
@@
-10,6
+10,7
@@
use Drupal\Core\Render\Element;
*
* Properties:
* - #size: The size of the input element in characters.
*
* Properties:
* - #size: The size of the input element in characters.
+ * - #pattern: A string for the native HTML5 pattern attribute.
*
* Usage example:
* @code
*
* Usage example:
* @code
@@
-17,6
+18,7
@@
use Drupal\Core\Render\Element;
* '#type' => 'password',
* '#title' => $this->t('Password'),
* '#size' => 25,
* '#type' => 'password',
* '#title' => $this->t('Password'),
* '#size' => 25,
+ * '#pattern' => '[01]+',
* );
* @endcode
*
* );
* @endcode
*