You are here

public function ContextDefinitionInterface::setMultiple in Service Container 7

Same name and namespace in other branches
  1. 7.2 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\Context

Code

public function setMultiple($multiple = TRUE);