function RulesUiHandlerTrait::setRulesUiHandler

Sets the Rules UI handler.

Parameters

\Drupal\rules\Ui\RulesUiHandlerInterface $rules_ui_handler: The Rules UI handler to set.

Return value

$this

File

src/Ui/RulesUiHandlerTrait.php, line 42

Class

RulesUiHandlerTrait
Trait for getting the rules_ui_handler attribute of the current request.

Namespace

Drupal\rules\Ui

Code

public function setRulesUiHandler(RulesUiHandlerInterface $rules_ui_handler) {
    $this->rulesUiHandler = $rules_ui_handler;
    return $this;
}