function FieldStorageDefinitionInterface::isMultiple

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isMultiple()
  2. 10 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isMultiple()
  3. 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isMultiple()

Returns whether the field can contain multiple items.

Return value

bool TRUE if the field can contain multiple items, FALSE otherwise.

2 methods override FieldStorageDefinitionInterface::isMultiple()
BaseFieldDefinition::isMultiple in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Returns whether the field can contain multiple items.
FieldStorageConfig::isMultiple in core/modules/field/src/Entity/FieldStorageConfig.php
Returns whether the field can contain multiple items.

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 164

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function isMultiple();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.