summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Carver2017-05-17 11:25:02 -0500
committerMark Carver2017-05-17 11:25:02 -0500
commit7bdda61858f38a9441484fc892f68d74fc9fd18f (patch)
treed6db485e7a5f6722f5e2c7717763a54519ab4c1d
parentff2d0bb65398b1a38b3d2ba22b6f8789c3831643 (diff)
Remove unnecessary attribute wrapping on input elements8.x-3.5
-rw-r--r--src/Plugin/Preprocess/Input.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Plugin/Preprocess/Input.php b/src/Plugin/Preprocess/Input.php
index 5d56e40..e30c1c2 100644
--- a/src/Plugin/Preprocess/Input.php
+++ b/src/Plugin/Preprocess/Input.php
@@ -23,8 +23,6 @@ class Input extends PreprocessBase implements PreprocessInterface {
* {@inheritdoc}
*/
public function preprocessElement(Element $element, Variables $variables) {
- $element->map(['id', 'name', 'value', 'type']);
-
// Autocomplete.
if ($route = $element->getProperty('autocomplete_route_name')) {
$variables['autocomplete'] = TRUE;