public function ContextDefinitionInterface::setMultiple in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 90 - Contains \Drupal\Component\Plugin\Context\ContextDefinitionInterface.
Class
- ContextDefinitionInterface
- Interface for context definitions.
Namespace
Drupal\Component\Plugin\ContextCode
public function setMultiple($multiple = TRUE);