function MenuActiveTrail::has

Same name in other branches
  1. 11.x core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php \Drupal\Core\ProxyClass\Menu\MenuActiveTrail::has()

Overrides CacheCollectorInterface::has

File

core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php, line 89

Class

MenuActiveTrail
Provides a proxy class for \Drupal\Core\Menu\MenuActiveTrail.

Namespace

Drupal\Core\ProxyClass\Menu

Code

public function has($key) {
    return $this->lazyLoadItself()
        ->has($key);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.