You are here

public function Trigger::getToolbarCacheTag in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 src/Trigger.php \Drupal\build_hooks\Trigger::getToolbarCacheTag()

Utility function to retrieve the cache tag to apply to the toolbar.

Return value

string The toolbar cache tag.

Overrides TriggerInterface::getToolbarCacheTag

1 call to Trigger::getToolbarCacheTag()
Trigger::invalidateToolbarCacheTag in src/Trigger.php
Invalidates the toolbar cache tag.

File

src/Trigger.php, line 271

Class

Trigger
Defines a service for triggering deployments.

Namespace

Drupal\build_hooks

Code

public function getToolbarCacheTag() {
  return TriggerInterface::BUILD_HOOKS_TOOLBAR_CACHE_TAG;
}