You are here

public function RuleChainManagerTrait::setRuleChainManager in ThemeKey 8

Sets the ThemeKey Rule Chain manager to use.

Parameters

\Drupal\themekey\RuleChainManagerInterface: The ThemeKey Rule Chain manager.

Return value

$this

File

src/RuleChainManagerTrait.php, line 36

Class

RuleChainManagerTrait

Namespace

Drupal\themekey

Code

public function setRuleChainManager(RuleChainManagerInterface $ruleChainManager) {
  $this->ruleChainManager = $ruleChainManager;
  return $this;
}