Constants

BUTTON_ORDER_PERMUTATIONS

BUTTON_ORDER_PERMUTATIONS =array(array('all', 'essential', 'individual', 'save'), array('all', 'essential', 'save', 'individual'), array('all', 'individual', 'essential', 'save'), array('all', 'individual', 'save', 'essential'), array('all', 'save', 'essential', 'individual'), array('all', 'save', 'individual', 'essential'), array('essential', 'all', 'individual', 'save'), array('essential', 'all', 'save', 'individual'), array('essential', 'individual', 'all', 'save'), array('essential', 'individual', 'save', 'all'), array('essential', 'save', 'all', 'individual'), array('essential', 'save', 'individual', 'all'), array('individual', 'all', 'essential', 'save'), array('individual', 'all', 'save', 'essential'), array('individual', 'essential', 'all', 'save'), array('individual', 'essential', 'save', 'all'), array('individual', 'save', 'all', 'essential'), array('individual', 'save', 'essential', 'all'), array('save', 'all', 'essential', 'individual'), array('save', 'all', 'individual', 'essential'), array('save', 'essential', 'all', 'individual'), array('save', 'essential', 'individual', 'all'), array('save', 'individual', 'all', 'essential'), array('save', 'individual', 'essential', 'all'))

Available permutations for the button order.

SECTION

SECTION =\DevOwl\RealCookieBanner\view\BannerCustomize::PANEL_MAIN . '-decision'

CUSTOM_HTML_BUTTON_TYPE_DIFFERS_NOTICE

CUSTOM_HTML_BUTTON_TYPE_DIFFERS_NOTICE =self::SECTION . '-custom-html-button-type-differs-notice'

HEADLINE_SERVICE_GROUPS

HEADLINE_SERVICE_GROUPS =self::SECTION . '-headline-service-groups'

SETTING

SETTING =RCB_OPT_PREFIX . '-banner-decision'

SETTING_ACCEPT_ALL

SETTING_ACCEPT_ALL =self::SETTING . '-accept-all'

SETTING_ACCEPT_ESSENTIALS

SETTING_ACCEPT_ESSENTIALS =self::SETTING . '-accept-essentials'

SETTING_SHOW_CLOSE_ICON

SETTING_SHOW_CLOSE_ICON =self::SETTING . '-show-close-icon'

SETTING_ACCEPT_INDIVIDUAL

SETTING_ACCEPT_INDIVIDUAL =self::SETTING . '-accept-individual'

SETTING_SHOW_GROUPS

SETTING_SHOW_GROUPS =self::SETTING . '-show-groups'

SETTING_GROUPS_FIRST_VIEW

SETTING_GROUPS_FIRST_VIEW =self::SETTING . '-groups-first-view'

SETTING_SAVE_BUTTON

SETTING_SAVE_BUTTON =self::SETTING . '-save-button'

SETTING_BUTTON_ORDER

SETTING_BUTTON_ORDER =self::SETTING . '-button-order'

DEFAULT_ACCEPT_ALL

DEFAULT_ACCEPT_ALL ='button'

DEFAULT_ACCEPT_ESSENTIALS

DEFAULT_ACCEPT_ESSENTIALS ='button'

DEFAULT_SHOW_CLOSE_ICON

DEFAULT_SHOW_CLOSE_ICON =false

DEFAULT_ACCEPT_INDIVIDUAL

DEFAULT_ACCEPT_INDIVIDUAL ='link'

DEFAULT_SHOW_GROUPS

DEFAULT_SHOW_GROUPS =false

DEFAULT_GROUPS_FIRST_VIEW

DEFAULT_GROUPS_FIRST_VIEW =false

DEFAULT_SAVE_BUTTON

DEFAULT_SAVE_BUTTON ='always'

DEFAULT_BUTTON_ORDER

DEFAULT_BUTTON_ORDER ='all,essential,save,individual'

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

args()

args()

Return arguments for this section.

getButtonOrderPermutations()

getButtonOrderPermutations()

Calculate button order permutations with translated select dropdown in an associative array.

new_version_installation_after_2_17_3()

new_version_installation_after_2_17_3(string|false  $installed)

Activate bullet list as it should not be deactivated automatically for already existing users.

Parameters

string|false $installed

applyBackwardsCompatibility()

applyBackwardsCompatibility(array  $revision,boolean  $independent)

Enable bullet groups + default button order for older revision.

Parameters

array $revision
boolean $independent