Skip to content
Snippets Groups Projects
Commit c505ecc8 authored by Stef De Waele's avatar Stef De Waele Committed by Oleksandr Kuzava
Browse files

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!11Issue #3380172: InvalidArgumentException: $string ("") on some systems when edititng a content type
......@@ -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.'),
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment