Documentation

TcfTexts
in package

If TCF is active, add additional text options.

Table of Contents

Constants

CONTROLS_STACK_BEFORE  = \DevOwl\RealCookieBanner\view\customize\banner\Texts::HEADLINE_CONSENT_FORWARDING
HEADLINE_STACKS  = \DevOwl\RealCookieBanner\view\customize\banner\Texts::SECTION . '-headline-tcf-stacks'
SETTING  = RCB_OPT_PREFIX . '-banner-texts-tcf'
SETTING_STACKS_CUSTOM_DESCRIPTION  = self::SETTING . '-stacks-custom-description'
SETTING_STACKS_CUSTOM_NAME  = self::SETTING . '-stacks-custom-name'

Properties

$me  : TcfTexts
Singleton instance.

Methods

getDefaultTexts()  : mixed
Get the default texts.
getInstance()  : mixed
Get singleton instance.
getTcfDisabledNotice()  : mixed
Return a notice HTML for the customize description when TCF is deactivated.
stacks()  : mixed
Add additional fields for TCF stacks.

Constants

CONTROLS_STACK_BEFORE

public mixed CONTROLS_STACK_BEFORE = \DevOwl\RealCookieBanner\view\customize\banner\Texts::HEADLINE_CONSENT_FORWARDING

HEADLINE_STACKS

public mixed HEADLINE_STACKS = \DevOwl\RealCookieBanner\view\customize\banner\Texts::SECTION . '-headline-tcf-stacks'

SETTING

public mixed SETTING = RCB_OPT_PREFIX . '-banner-texts-tcf'

SETTING_STACKS_CUSTOM_DESCRIPTION

public mixed SETTING_STACKS_CUSTOM_DESCRIPTION = self::SETTING . '-stacks-custom-description'

SETTING_STACKS_CUSTOM_NAME

public mixed SETTING_STACKS_CUSTOM_NAME = self::SETTING . '-stacks-custom-name'

Properties

Methods

getDefaultTexts()

Get the default texts.

public static getDefaultTexts() : mixed

getInstance()

Get singleton instance.

public static getInstance() : mixed
Tags
codeCoverageIgnore

getTcfDisabledNotice()

Return a notice HTML for the customize description when TCF is deactivated.

public static getTcfDisabledNotice() : mixed

stacks()

Add additional fields for TCF stacks.

public stacks(array<string|int, mixed> &$sections) : mixed
Parameters
$sections : array<string|int, mixed>

        
On this page

Search results