You are here

constant EntityBrowserElement::CARDINALITY_UNLIMITED in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Element/EntityBrowserElement.php \Drupal\entity_browser\Element\EntityBrowserElement::CARDINALITY_UNLIMITED

Indicating an entity browser can return an unlimited number of values.

Note: When entity browser is used in Fields, cardinality is directly propagated from Field settings, that's why this constant should be equal to FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.

File

src/Element/EntityBrowserElement.php, line 46

Class

EntityBrowserElement
Provides an Entity Browser form element.

Namespace

Drupal\entity_browser\Element

Code

const CARDINALITY_UNLIMITED = -1;