Skip to content
Snippets Groups Projects
Commit 8ace93e6 authored by Lily Yan's avatar Lily Yan Committed by Tyler Struyk
Browse files

ISTWCMS-6102 Rollback hiding hide_branding field after updating to simple_sitemap 4.1.4

parent 51091892
No related branches found
No related tags found
1 merge request!341ISTWCMS-6102 Update to simple sitemap 4.1.4
......@@ -995,11 +995,6 @@ function uw_cfg_common_preprocess_responsive_image(&$variables) {
*/
function uw_cfg_common_form_alter(array &$form, FormStateInterface $form_state, string $form_id): void {
// Hide hide_branding field in simple sitemap settings.
if ($form_id == 'simple_sitemap_settings_form' && isset($form['settings']['hide_branding'])) {
unset($form['settings']['hide_branding']);
}
// Only blog, event and news item has 'Image' option.
$hero_image_form_ids = [
'node_uw_ct_blog_form',
......
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