You are here

public function MenuPerRoleLinkTreeManipulator::setConfigFactory in Menu Per Role 8

Sets the config service.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config: The config service.

File

src/MenuPerRoleLinkTreeManipulator.php, line 56

Class

MenuPerRoleLinkTreeManipulator
Menu Per Role link tree manipulator service.

Namespace

Drupal\menu_per_role

Code

public function setConfigFactory(ConfigFactoryInterface $config) : void {
  $this->config = $config;
}