You are here

abstract public function ElementProcessorBase::applies in Cookie Content Blocker 8

Declares if the route processor applies to the given element.

Parameters

array $element: The element to process.

Return value

bool TRUE if the check applies, FALSE otherwise.

Overrides ElementProcessorInterface::applies

3 methods override ElementProcessorBase::applies()
AttachedProcessor::applies in src/ElementProcessor/AttachedProcessor.php
Declares if the route processor applies to the given element.
DefaultProcessor::applies in src/ElementProcessor/DefaultProcessor.php
Declares if the route processor applies to the given element.
ElementProcessor::applies in src/ElementProcessor/ElementProcessor.php
Declares if the route processor applies to the given element.

File

src/ElementProcessor/ElementProcessorBase.php, line 20

Class

ElementProcessorBase
Class ElementProcessorBase.

Namespace

Drupal\cookie_content_blocker\ElementProcessor

Code

public abstract function applies(array $element) : bool;