You are here

public function TagsHeaderBase::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.

Overrides TagsHeaderInterface::isEnabled

File

src/Plugin/Purge/TagsHeader/TagsHeaderBase.php, line 41

Class

TagsHeaderBase
Base implementation for plugins that add and format a cache tags header.

Namespace

Drupal\purge\Plugin\Purge\TagsHeader

Code

public function isEnabled() {
  return TRUE;
}