You are here

public function GroupMenuConfigOverrides::__construct in Group Menu 8

Constructs the GroupMenuConfigOverrides object.

Parameters

\Drupal\Core\Config\StorageInterface $storage: The configuration storage engine.

\Drupal\Core\Session\AccountInterface $current_user: The current user.

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.

File

src/GroupMenuConfigOverrides.php, line 80

Class

GroupMenuConfigOverrides
Group menu configuration overrides.

Namespace

Drupal\groupmenu

Code

public function __construct(StorageInterface $storage, AccountInterface $current_user, CacheBackendInterface $cache) {
  $this->baseStorage = $storage;
  $this->currentUser = $current_user;
  $this->cache = $cache;
}