Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
9c577c13
Commit
9c577c13
authored
8 months ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6945: fix coding standards
parent
75a20982
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!132
ISTWCMS-6945: fix getting the form id for label on details elements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_fdsu_theme_resp.theme
+1
-1
1 addition, 1 deletion
uw_fdsu_theme_resp.theme
with
1 addition
and
1 deletion
uw_fdsu_theme_resp.theme
+
1
−
1
View file @
9c577c13
...
@@ -740,7 +740,7 @@ function uw_fdsu_theme_resp_preprocess_details(&$variables) {
...
@@ -740,7 +740,7 @@ function uw_fdsu_theme_resp_preprocess_details(&$variables) {
if
(
isset
(
$variables
[
'element'
][
0
][
'#attributes'
][
'data-drupal-selector'
]))
{
if
(
isset
(
$variables
[
'element'
][
0
][
'#attributes'
][
'data-drupal-selector'
]))
{
$variables
[
'form_field_id'
]
=
$variables
[
'element'
][
0
][
'#attributes'
][
'data-drupal-selector'
];
$variables
[
'form_field_id'
]
=
$variables
[
'element'
][
0
][
'#attributes'
][
'data-drupal-selector'
];
}
}
else
if
(
isset
(
$variables
[
'element'
][
'#attributes'
][
'data-drupal-selector'
]))
{
elseif
(
isset
(
$variables
[
'element'
][
'#attributes'
][
'data-drupal-selector'
]))
{
$variables
[
'form_field_id'
]
=
$variables
[
'element'
][
'#attributes'
][
'data-drupal-selector'
];
$variables
[
'form_field_id'
]
=
$variables
[
'element'
][
'#attributes'
][
'data-drupal-selector'
];
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment