Same name in other branches
  1. 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setModuleHandler()
  2. 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setModuleHandler()

Set module handler.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler service.

Return value

$this

File

src/AdvaggSettersTrait.php, line 215

Class

AdvaggSettersTrait
The trait setters of ADVAGG module.

Namespace

Drupal\advagg

Code

public function setModuleHandler(ModuleHandlerInterface $moduleHandler) {
    $this->moduleHandler = $moduleHandler;
    return $this;
}