You are here

public function ContextDefinition::isMultiple in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::isMultiple()
  2. 10 core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::isMultiple()

Determines whether the data is multi-valued, i.e. a list of data items.

Return value

bool Whether the data is multi-valued; i.e. a list of data items.

Overrides ContextDefinitionInterface::isMultiple

1 call to ContextDefinition::isMultiple()
ContextDefinition::getDataDefinition in core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php
Returns the data definition of the defined context.

File

core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php, line 198

Class

ContextDefinition
Defines a class for context definitions.

Namespace

Drupal\Core\Plugin\Context

Code

public function isMultiple() {
  return $this->isMultiple;
}