You are here

protected function GinToolbarActiveTrail::getCid in Gin Toolbar 8

The active trail logic is different here, so the active trails should be cached separately.

Overrides MenuActiveTrail::getCid

File

src/Menu/GinToolbarActiveTrail.php, line 63

Class

GinToolbarActiveTrail
Class GinToolbarActiveTrail.

Namespace

Drupal\gin_toolbar\Menu

Code

protected function getCid() {
  if (!isset($this->cid)) {
    $this->cid = 'gin-toolbar-' . parent::getCid();
  }
  return $this->cid;
}