function ContextDefinitionInterface::setMultiple
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setMultiple()
- 8.9.x core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setMultiple()
- 11.x core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::setMultiple()
Sets whether the data is multi-valued.
Parameters
bool $multiple: (optional) Whether the data is multi-valued. Defaults to TRUE.
Return value
$this
1 method overrides ContextDefinitionInterface::setMultiple()
- ContextDefinition::setMultiple in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Sets whether the data is multi-valued.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Context/ ContextDefinitionInterface.php, line 87
Class
- ContextDefinitionInterface
- Interface used to define definition objects found in ContextInterface.
Namespace
Drupal\Component\Plugin\ContextCode
public function setMultiple($multiple = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.