Skip to content
Snippets Groups Projects
Commit a776e818 authored by Sven Berg Ryen's avatar Sven Berg Ryen Committed by Sven Berg Ryen
Browse files

Issue #3055140 by svenryen: 7.x only: When "Put the withdraw button on banner"...

Issue #3055140 by svenryen: 7.x only: When "Put the withdraw button on banner" is set, a text format box is still seen
parent 2a9f1cc6
No related branches found
No related tags found
No related merge requests found
......@@ -446,6 +446,7 @@ function eu_cookie_compliance_admin_form(array $form, array $form_state) {
'#default_value' => isset($popup_settings['withdraw_message']['value']) ? $popup_settings['withdraw_message']['value'] : '',
'#description' => t('Text that will be displayed in the banner that appears when the privacy settings tab is clicked.'),
'#format' => isset($popup_settings['withdraw_message']['format']) ? $popup_settings['withdraw_message']['format'] : $default_filter_format,
'#parents' => array('eu_cookie_compliance', 'withdraw_message'),
);
$form['withdraw_consent']['eu_cookie_compliance']['withdraw_tab_button_label'] = array(
......
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