You are here

public function TagsHeaderInterface::isEnabled in Purge 8.3

Determine if this header should be added to the response.

Return value

bool TRUE when the header should be added to responses, FALSE when not.

1 method overrides TagsHeaderInterface::isEnabled()
TagsHeaderBase::isEnabled in src/Plugin/Purge/TagsHeader/TagsHeaderBase.php
Determine if this header should be added to the response.

File

src/Plugin/Purge/TagsHeader/TagsHeaderInterface.php, line 54

Class

TagsHeaderInterface
Describes a plugin that adds and formats a cache tags header on responses.

Namespace

Drupal\purge\Plugin\Purge\TagsHeader

Code

public function isEnabled();