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\MenuCode
protected function getCid() {
if (!isset($this->cid)) {
$this->cid = 'gin-toolbar-' . parent::getCid();
}
return $this->cid;
}