You are here

public function MenuPositionRule::setConditions in Menu Position 8

Sets the configuration options for the menu position rules.

Parameters

array $conditions: An array of $conditions.

string $plugin: The machine plugin name.

Overrides MenuPositionRuleInterface::setConditions

File

src/Entity/MenuPositionRule.php, line 207

Class

MenuPositionRule
Defines the MenuPositionRule entity.

Namespace

Drupal\menu_position\Entity

Code

public function setConditions(array $conditions, $plugin) {
  $this->conditions = $conditions;
}