You are here

public function ContextDefinition::isMultiple in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 161
Contains \Drupal\Core\Plugin\Context\ContextDefinition.

Class

ContextDefinition
Defines a class for context definitions.

Namespace

Drupal\Core\Plugin\Context

Code

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