Skip to content
Snippets Groups Projects
Commit 9c975145 authored by Lily Yan's avatar Lily Yan
Browse files

Remove hiding hide_branding field added by mistaking rebase

parent 0b421b65
No related branches found
No related tags found
No related merge requests found
...@@ -1217,11 +1217,6 @@ function uw_cfg_common_form_user_register_form_alter(array &$form, FormStateInte ...@@ -1217,11 +1217,6 @@ function uw_cfg_common_form_user_register_form_alter(array &$form, FormStateInte
*/ */
function uw_cfg_common_form_alter(array &$form, FormStateInterface $form_state, string $form_id): void { 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. // Only blog, event and news item has 'Image' option.
$hero_image_form_ids = [ $hero_image_form_ids = [
'node_uw_ct_blog_form', '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