You are here

public function FieldStorageDefinitionInterface::isMultiple in Drupal 9

Same name and namespace in other branches
  1. 8 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 150

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function isMultiple();