You are here

public function EventTypeRuleInterface::setCondition in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/EventTypeRuleInterface.php \Drupal\rng\Entity\EventTypeRuleInterface::setCondition()

Set a condition configuration.

Parameters

$name: A condition plugin instance ID.

$configuration: The condition plugin configuration

Return value

$this The event type rule.

1 method overrides EventTypeRuleInterface::setCondition()
EventTypeRule::setCondition in src/Entity/EventTypeRule.php
Set a condition configuration.

File

src/Entity/EventTypeRuleInterface.php, line 85

Class

EventTypeRuleInterface

Namespace

Drupal\rng\Entity

Code

public function setCondition($name, $configuration);