You are here

public function ContextDefinition::isMultiple in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::isMultiple()
  2. 9 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 166

Class

ContextDefinition
Defines a class for context definitions.

Namespace

Drupal\Core\Plugin\Context

Code

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