You are here

public function DsFieldBase::isMultiple in Display Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::isMultiple()
  2. 8.2 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::isMultiple()

Defines if we are dealing with a multivalue field.

Return value

bool TRUE when field has multiple values, FALSE otherwise.

Overrides DsFieldInterface::isMultiple

1 method overrides DsFieldBase::isMultiple()
TestMultipleField::isMultiple in tests/modules/ds_test/src/Plugin/DsField/TestMultipleField.php
Defines if we are dealing with a multivalue field.

File

src/Plugin/DsField/DsFieldBase.php, line 178

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

public function isMultiple() {
  return FALSE;
}