Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rabbit_hole
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
rabbit_hole
Commits
e0aae388
Commit
e0aae388
authored
2 years ago
by
Dieter Holvoet
Committed by
Ivan Doroshenko
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3298882
by Matroskeen: Fieldset summary does not work on the node form
parent
be9d3801
No related branches found
No related tags found
1 merge request
!68
Issue #3298741: Fix the issues reported by phpcs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/rh_node/rh_node.module
+1
-3
1 addition, 3 deletions
modules/rh_node/rh_node.module
with
1 addition
and
3 deletions
modules/rh_node/rh_node.module
+
1
−
3
View file @
e0aae388
...
@@ -28,9 +28,7 @@ function rh_node_form_node_type_form_alter(&$form, $form_state) {
...
@@ -28,9 +28,7 @@ function rh_node_form_node_type_form_alter(&$form, $form_state) {
function
rh_node_form_node_form_alter
(
&
$form
,
$form_state
)
{
function
rh_node_form_node_form_alter
(
&
$form
,
$form_state
)
{
// Add the Rabbit Hole form, and add an extra javascript file that's needed
// Add the Rabbit Hole form, and add an extra javascript file that's needed
// for the fieldset summary.
// for the fieldset summary.
// Add a custom submit function. This is used to disable the redirect to
$form
[
'#attached'
][
'library'
][]
=
'rh_node/node-form'
;
// node/123 if Rabbit Hole is enabled and the user doesn't have the bypass
// rh_node permission.
}
}
/**
/**
...
...
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