Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
node_keep
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
node_keep
Commits
c505ecc8
Commit
c505ecc8
authored
1 year ago
by
Stef De Waele
Committed by
Oleksandr Kuzava
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3380172
: InvalidArgumentException: $string ("") on some systems when edititng a content type
parent
47f6e690
No related branches found
No related tags found
1 merge request
!11
Issue #3380172: InvalidArgumentException: $string ("") on some systems when edititng a content type
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
node_keep.module
+1
-1
1 addition, 1 deletion
node_keep.module
with
1 addition
and
1 deletion
node_keep.module
+
1
−
1
View file @
c505ecc8
...
...
@@ -212,7 +212,7 @@ function node_keep_form_node_type_form_alter(&$form, FormStateInterface $form_st
if
(
\Drupal
::
moduleHandler
()
->
moduleExists
(
'pathauto'
))
{
$form
[
'node_keep'
][
'alias_keeper'
]
=
[
'#type'
=>
'checkbox'
,
'#title'
=>
t
(
`
Default option for "Prevent this node's alias from being changed"
`
),
'#title'
=>
t
(
'
Default option for "Prevent this node
\
's alias from being changed"
'
),
'#default_value'
=>
$type
->
getThirdPartySetting
(
'node_keep'
,
'alias_keeper'
,
0
),
'#description'
=>
t
(
'Set the default option for preventing node alias changes for newly created nodes of this type.'
),
];
...
...
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