public function MenuPositionRuleInterface::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.
1 method overrides MenuPositionRuleInterface::setConditions()
- MenuPositionRule::setConditions in src/
Entity/ MenuPositionRule.php - Sets the configuration options for the menu position rules.
File
- src/
MenuPositionRuleInterface.php, line 100
Class
- MenuPositionRuleInterface
- Provides an interface defining a Example entity.
Namespace
Drupal\menu_positionCode
public function setConditions(array $conditions, $plugin);