\DevOwl\RealCookieBanner\presetsmiddleware

Classes

AdoptTierFromClassNamespaceMiddleware Middleware to automatically create `tier` from class namespace.
BlockerContentTypeButtonTextMiddleware Middleware that provides button text for specific content types.
BlockerDisableProFeaturesInFreeMiddleware Middleware to remove some `attributes` in free content blocker presets which are only available in PRO.
BlockerExistsMiddleware Middleware to add a tag with label when the preset already exists.
BlockerHostsOptionsMiddleware Middleware that adds a `scanOptions` attribute to the blocker metadata from `rules` options.
CookieBlockerPresetIdsMiddleware Middleware to add `blockerPresetIds` to the cookies so they are associated together.
CookieExistsMiddleware Middleware to add a tag with label when the preset already exists.
CookieGroupNamesBackwardsCompatibleMiddleware Example: After we have introduced Continuous Localization the `Statistic` wording got changed to `Statistics`. This middleware fixes the `Statistics` wording and check if a term for `Statistic` exists and fallback to this wording as we do not change the original term while updating the plugin.
CookieManagerMiddleware Create manager arguments (GTM, MTM) and tag.
CookiesDeactivateAutomaticContentBlockerCreationByNeedsMiddleware Middleware that adds a `attributes.shouldUncheckContentBlockerCheckboxWhenOneOf` attribute and automatically set `attributes.shouldUncheckContentBlockerCheckbox` determined by active plugins.
DisablePresetByNeedsMiddleware Middleware to enable `'needs': ['wp-plugin:elementor', 'wp-plugin:elementor-pro']` in cookie and content blocker presets.
DisableTechnicalHandlingThroughPluginMiddleware Middleware to enable `attributes.shouldRemoveTechnicalHandlingWhenOneOf` in cookie and content blocker presets.
ExtendsMiddleware Middleware to enable `attributes.extends` in cookie and content blocker presets.