You are here

public function WardenManager::setModules in Warden 8

Same name and namespace in other branches
  1. 8.2 src/Service/WardenManager.php \Drupal\warden\Service\WardenManager::setModules()
  2. 3.x src/Service/WardenManager.php \Drupal\warden\Service\WardenManager::setModules()

Parameters

Extension[] $modules:

Return value

$this

1 call to WardenManager::setModules()
WardenManager::getModules in src/Service/WardenManager.php

File

src/Service/WardenManager.php, line 362

Class

WardenManager
Default controller for the warden module.

Namespace

Drupal\warden\Service

Code

public function setModules(array $modules) {
  $this->modules = $modules;
  return $this;
}