public function ContextDefinitionInterface::setMultiple in Service Container 7.2
Same name and namespace in other branches
- 7 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
File
- 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);