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
056adf5d
Commit
056adf5d
authored
2 years ago
by
Lily Yan
Committed by
Igor Biki
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5878 Remove form.inc file which is related to gesso only
parent
8f33aefa
No related branches found
No related tags found
1 merge request
!93
ISTWCMS-5878 ISTWCMS-5878 Remove Gesso after 3.2.0 has shipped
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/form.inc
+0
-30
0 additions, 30 deletions
includes/form.inc
with
0 additions
and
30 deletions
includes/form.inc
deleted
100644 → 0
+
0
−
30
View file @
8f33aefa
<?php
/**
* @file
* Form template functions.
*/
/**
* Implements template_preprocess_input().
*/
function
gesso_preprocess_input
(
&
$vars
)
{
$vars
[
'required'
]
=
isset
(
$vars
[
'element'
][
'#required'
])
?
$vars
[
'element'
][
'#required'
]
:
NULL
;
$vars
[
'type'
]
=
isset
(
$vars
[
'element'
][
'#attributes'
][
'type'
])
?
$vars
[
'element'
][
'#attributes'
][
'type'
]
:
NULL
;
$vars
[
'dropbutton'
]
=
isset
(
$vars
[
'element'
][
'#dropbutton'
])
?
$vars
[
'element'
][
'#dropbutton'
]
:
NULL
;
}
/**
* Implements template_preprocess_fieldset().
*/
function
gesso_preprocess_fieldset
(
&
$vars
)
{
$vars
[
'type'
]
=
isset
(
$vars
[
'element'
][
'#type'
])
?
$vars
[
'element'
][
'#type'
]
:
NULL
;
}
/**
* Implements hook_theme_suggestions_HOOK_alter().
*/
function
gesso_theme_suggestions_form_alter
(
array
&
$suggestions
,
array
$variables
)
{
$form_id
=
$variables
[
'element'
][
'#form_id'
];
$suggestions
[]
=
'form__'
.
$form_id
;
}
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