Skip to content
Snippets Groups Projects
Commit 14bb2079 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5880: removing hero image from catalog

parent 2edda91b
No related branches found
No related tags found
3 merge requests!284Feature/istwcms 5880 ebremner banners above,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
......@@ -895,10 +895,12 @@ function uw_cfg_common_form_alter(array &$form, FormStateInterface $form_state,
$node_type = str_replace('node_uw_ct_', '', $form_id);
$node_type = str_replace('_edit', '', $node_type);
$node_type = str_replace('_form', '', $node_type);
$node_type = str_replace('_item', '', $node_type);
// Content types to remove the hero image from media.
$remove_hero_image_nodes = [
'web_page',
'catalog',
];
// If the node type can not have hero image, remove the option.
......
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