diff --git a/core/modules/file/file.module b/core/modules/file/file.module index 9220fe7..ee12a41 100644 --- a/core/modules/file/file.module +++ b/core/modules/file/file.module @@ -1192,7 +1192,6 @@ function template_preprocess_file_managed_file(&$variables) { if (!empty($element['#attributes']['class'])) { $variables['attributes']['class'] = (array) $element['#attributes']['class']; } - $variables['attributes']['class'][] = 'form-managed-file'; } /** diff --git a/core/modules/file/templates/file-managed-file.html.twig b/core/modules/file/templates/file-managed-file.html.twig index 9a33ae1..7a87511 100644 --- a/core/modules/file/templates/file-managed-file.html.twig +++ b/core/modules/file/templates/file-managed-file.html.twig @@ -12,6 +12,6 @@ * @ingroup themeable */ #} - + {{ element }} diff --git a/core/modules/system/templates/menu-local-task.html.twig b/core/modules/system/templates/menu-local-task.html.twig index 5939203..2a67339 100644 --- a/core/modules/system/templates/menu-local-task.html.twig +++ b/core/modules/system/templates/menu-local-task.html.twig @@ -5,6 +5,7 @@ * * Available variables: * - attributes: HTML attributes for the wrapper element. + * - active: Whether the task item is an active tab. * - link: A rendered link element. * * Note: This template renders the content for each task item in diff --git a/core/themes/classy/templates/content-edit/file-managed-file.html.twig b/core/themes/classy/templates/content-edit/file-managed-file.html.twig index d7b9120..43739be 100644 --- a/core/themes/classy/templates/content-edit/file-managed-file.html.twig +++ b/core/themes/classy/templates/content-edit/file-managed-file.html.twig @@ -10,6 +10,6 @@ * @see template_preprocess_file_managed_file() */ #} - + {{ element }}