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\EntityCode
public function setConditions(array $conditions, $plugin) {
$this->conditions = $conditions;
}