Devel Load

Drupal\node\Entity\Node#1817 (29)
  • Properties (29)
  • Available methods (145)
  • Static class properties (10)
  • protected entityTypeId -> string (4) "node"
    protected enforceIsNew -> null
    protected typedData -> null
    protected cacheContexts -> array (0)
    protected cacheTags -> array (0)
    protected cacheMaxAge -> integer -1
    protected _serviceIds -> array (0)
    protected _entityStorages -> array (0)
    protected values -> array (20)
    nid => array (1)
    x-default => string (1) "1"
    vid => array (1)
    x-default => string (1) "1"
    type => array (1)
    x-default => string (4) "page"
    uuid => array (1)
    x-default => string (36) "1f20dcc0-8924-4b6f-9584-0de160108e82"
    langcode => array (1)
    x-default => string (2) "ru"
    revision_uid => array (1)
    x-default => string (1) "1"
    revision_timestamp => array (1)
    x-default => string (10) "1724865173"
    2024-08-28 17:12:53 UTC
    revision_log => array (1)
    x-default => null
    revision_default => array (1)
    x-default => string (1) "1"
    isDefaultRevision => array (1)
    x-default => string (1) "1"
    status => array (1)
    x-default => string (1) "1"
    uid => array (1)
    x-default => string (1) "1"
    title => array (1)
    x-default => string (3) "404"
    created => array (1)
    x-default => string (10) "1724865103"
    2024-08-28 17:11:43 UTC
    changed => array (1)
    x-default => string (10) "1724865173"
    2024-08-28 17:12:53 UTC
    promote => array (1)
    x-default => string (1) "0"
    sticky => array (1)
    x-default => string (1) "0"
    default_langcode => array (1)
    x-default => string (1) "1"
    revision_translation_affected => array (1)
    x-default => string (1) "1"
    body => array (1)
    x-default => array (1) Depth Limit
    protected fields -> array (0)
    protected fieldDefinitions -> array (23)
    nid => Drupal\Core\Field\BaseFieldDefinition#1841 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (6) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1843 (3) Depth Limit
      protected type -> string (7) "integer"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    uuid => Drupal\Core\Field\BaseFieldDefinition#1844 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (6) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1846 (3) Depth Limit
      protected type -> string (4) "uuid"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    vid => Drupal\Core\Field\BaseFieldDefinition#1847 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (6) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1849 (3) Depth Limit
      protected type -> string (7) "integer"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    langcode => Drupal\Core\Field\BaseFieldDefinition#1850 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (8) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1852 (3) Depth Limit
      protected type -> string (8) "language"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    type => Drupal\Core\Field\BaseFieldDefinition#1853 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (7) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1854 (3) Depth Limit
      protected type -> string (16) "entity_reference"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    revision_timestamp => Drupal\Core\Field\BaseFieldDefinition#1855 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (7) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1858 (3) Depth Limit
      protected type -> string (7) "created"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    revision_uid => Drupal\Core\Field\BaseFieldDefinition#1859 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (7) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1862 (3) Depth Limit
      protected type -> string (16) "entity_reference"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    revision_log => Drupal\Core\Field\BaseFieldDefinition#1863 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (9) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1866 (3) Depth Limit
      protected type -> string (11) "string_long"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    status => Drupal\Core\Field\BaseFieldDefinition#1867 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (9) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1869 (3) Depth Limit
      protected type -> string (7) "boolean"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    uid => Drupal\Core\Field\BaseFieldDefinition#1872 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (10) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1875 (3) Depth Limit
      protected type -> string (16) "entity_reference"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    title => Drupal\Core\Field\BaseFieldDefinition#1876 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (9) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1878 (3) Depth Limit
      protected type -> string (6) "string"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    created => Drupal\Core\Field\BaseFieldDefinition#1879 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (9) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1882 (3) Depth Limit
      protected type -> string (7) "created"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    changed => Drupal\Core\Field\BaseFieldDefinition#1883 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (8) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1886 (3) Depth Limit
      protected type -> string (7) "changed"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    promote => Drupal\Core\Field\Entity\BaseFieldOverride#1926 (35)
    • Properties (36)
    • Available methods (133)
    • public original -> undefined
      protected entityTypeId -> string (19) "base_field_override"
      protected enforceIsNew -> null
      protected typedData -> null
      protected cacheContexts -> array (1) Depth Limit
      protected cacheTags -> array (0)
      protected cacheMaxAge -> integer -1
      protected _serviceIds -> array (0)
      protected _entityStorages -> array (0)
      protected originalId -> string (17) "node.page.promote"
      protected status -> boolean true
      protected uuid -> string (36) "670e5bbd-94d4-4879-8d92-57214beae375"
      private isUninstalling -> boolean false
      protected langcode -> string (2) "ru"
      protected third_party_settings -> array (0)
      protected _core -> array (1) Depth Limit
      protected trustedData -> boolean false
      protected dependencies -> array (1) Depth Limit
      protected isSyncing -> boolean false
      protected id -> string (17) "node.page.promote"
      protected field_name -> string (7) "promote"
      protected field_type -> string (7) "boolean"
      protected entity_type -> string (4) "node"
      protected bundle -> string (4) "page"
      protected label -> UTF-8 string (53) "Помещено на главную страницу"
      protected description -> string (0) ""
      protected settings -> array (2) Depth Limit
      protected required -> boolean false
      protected translatable -> boolean false
      protected default_value -> array (1) Depth Limit
      protected default_value_callback -> string (0) ""
      protected fieldStorage -> null
      protected itemDefinition -> null
      protected constraints -> array (0)
      protected propertyConstraints -> array (0)
      protected baseFieldDefinition -> null
    • public __construct(array $values, $entity_type = 'base_field_override') Constructs a BaseFieldOverride object.
      /**
      * Constructs a BaseFieldOverride object.
      *
      * In most cases, base field override entities are created via
      * BaseFieldOverride::createFromBaseFieldDefinition($definition, 'bundle')
      *
      * @param array $values
      *   An array of base field bundle override properties, keyed by property
      *   name. The field to override is specified by referring to an existing
      *   field with:
      *   - field_name: The field name.
      *   - entity_type: The entity type.
      *   Additionally, a 'bundle' property is required to indicate the entity
      *   bundle to which the bundle field override is attached to. Other array
      *   elements will be used to set the corresponding properties on the class;
      *   see the class property documentation for details.
      * @param string $entity_type
      *   (optional) The type of the entity to create. Defaults to
      *   'base_field_override'.
      *
      * @throws \Drupal\Core\Field\FieldException
      *   Exception thrown if $values does not contain a field_name, entity_type or
      *   bundle value.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:99
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:116
      public isDisplayConfigurable($context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:123
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:130
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:137
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:144
      public isInternal(): bool {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:151
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:158
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:165
      public preSave(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * @throws \Drupal\Core\Field\FieldException
      *   If the bundle is being changed.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:188
      public __sleep() Implements the magic __sleep() method.
      /**
      * Implements the magic __sleep() method.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:259
      public id() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:199
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:206
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:213
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:220
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:227
      public calculateDependencies() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:234
      public onDependencyRemoval(array $dependencies) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:261
      public postCreate(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:274
      public postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:302
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:316
      public setLabel($label) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:323
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:331
      public setDescription($description) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:338
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:346
      public setTranslatable($translatable) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:354
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:362
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:369
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:377
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:389
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:397
      public setRequired($required) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:404
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:412
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:429
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:436
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:444
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:451
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:492
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:505
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:522
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:529
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:537
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:561
      public setConstraints(array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:568
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:576
      public setPropertyConstraints($name, array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:584
      public addPropertyConstraints($name, array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:597
      public setSyncing($syncing) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:22
      public isSyncing() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:31
      public getOriginalId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:122
      public setOriginalId($id) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:129
      public isNew() Overrides Entity::isNew().
      /**
      * Overrides Entity::isNew().
      *
      * EntityInterface::enforceIsNew() is only supported for newly created
      * configuration entities but has no effect after saving, since each
      * configuration entity is unique.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:146
      public get($property_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:153
      public set($property_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:160
      public enable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:177
      public disable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:184
      public setStatus($status) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:191
      public status() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:199
      public setUninstalling($uninstalling) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:206
      public isUninstalling() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:213
      public createDuplicate() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:220
      public toArray() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:245
      public toUrl($rel = 'edit-form', array $options = array()) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:398
      public getCacheTagsToInvalidate() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:407
      public getDependencies() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:436
      public getConfigDependencyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:450
      public getConfigTarget() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:457
      public setThirdPartySetting($module, $key, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:505
      public getThirdPartySetting($module, $key, $default = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:513
      public getThirdPartySettings($module) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:525
      public unsetThirdPartySetting($module, $key) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:532
      public getThirdPartyProviders() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:545
      public isInstallable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:586
      public trustData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:593
      public hasTrustedData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:601
      public save() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:608
      public addCacheableDependency($other_object) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:15
      public addCacheContexts(array $cache_contexts) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:31
      public traitSleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
      public addCacheTags(array $cache_tags) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:41
      public mergeCacheMaxAge($max_age) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:51
      public __wakeup() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
      public uuid() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:113
      public enforceIsNew($value = true) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:127
      public getEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:136
      public bundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:143
      public label() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:150
      public hasLinkTemplate($rel) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:222
      public toLink($text = null, $rel = 'canonical', array $options = array()) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:240
      public uriRelationships() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:284
      public access($operation, ?Drupal\Core\Session\AccountInterface $account = null, $return_as_object = false) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:306
      public language() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:320
      public delete() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:345
      public getEntityType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:371
      public referencedEntities() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:429
      public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:436
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:467
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:477
      public getTypedData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:588
      public getConfigDependencyKey() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:633
      protected getBaseFieldDefinition(): \Drupal\Core\Field\BaseFieldDefinition Gets the base field definition.
      /**
      * Gets the base field definition.
      *
      * @return \Drupal\Core\Field\BaseFieldDefinition
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:174
      protected addDependencyTrait($type, $name): $this Adds a dependency.
      /**
      * Adds a dependency.
      *
      * @param string $type
      *   Type of dependency being added: 'module', 'theme', 'config', 'content'.
      * @param string $name
      *   If $type is 'module' or 'theme', the name of the module or theme. If
      *   $type is 'config' or 'content', the result of
      *   EntityInterface::getConfigDependencyName().
      *
      * @see \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/DependencyTrait.php:31
      protected getPluginDependencies(Drupal\Component\Plugin\PluginInspectionInterface $instance): array Calculates and returns dependencies of a specific plugin instance.
      /**
      * Calculates and returns dependencies of a specific plugin instance.
      *
      * Dependencies are added for the module that provides the plugin, as well
      * as any dependencies declared by the instance's calculateDependencies()
      * method, if it implements
      * \Drupal\Component\Plugin\DependentPluginInterface.
      *
      * @param \Drupal\Component\Plugin\PluginInspectionInterface $instance
      *   The plugin instance.
      *
      * @return array
      *   An array of dependencies keyed by the type of dependency.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:33
      protected addDependencies(array $dependencies) Adds multiple dependencies.
      /**
      * Adds multiple dependencies.
      *
      * @param array $dependencies
      *   An array of dependencies keyed by the type of dependency. One example:
      *   @code
      *   array(
      *     'module' => array(
      *       'node',
      *       'field',
      *       'image',
      *     ),
      *   );
      *   @endcode
      *
      * @see \Drupal\Core\Entity\DependencyTrait::addDependency
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/DependencyTrait.php:64
      protected calculatePluginDependencies(Drupal\Component\Plugin\PluginInspectionInterface $instance) Calculates and adds dependencies of a specific plugin instance.
      /**
      * Calculates and adds dependencies of a specific plugin instance.
      *
      * Dependencies are added for the module that provides the plugin, as well
      * as any dependencies declared by the instance's calculateDependencies()
      * method, if it implements
      * \Drupal\Component\Plugin\DependentPluginInterface.
      *
      * @param \Drupal\Component\Plugin\PluginInspectionInterface $instance
      *   The plugin instance.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:88
      protected moduleHandler(): \Drupal\Core\Extension\ModuleHandlerInterface Wraps the module handler.
      /**
      * Wraps the module handler.
      *
      * @return \Drupal\Core\Extension\ModuleHandlerInterface
      *   The module handler.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:98
      protected themeHandler(): \Drupal\Core\Extension\ThemeHandlerInterface Wraps the theme handler.
      /**
      * Wraps the theme handler.
      *
      * @return \Drupal\Core\Extension\ThemeHandlerInterface
      *   The theme handler.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:108
      protected getTypedConfig(): \Drupal\Core\Config\TypedConfigManagerInterface Gets the typed config manager.
      /**
      * Gets the typed config manager.
      *
      * @return \Drupal\Core\Config\TypedConfigManagerInterface
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:280
      protected addDependency($type, $name) Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
      /**
      * Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
      *
      * Note that this function should only be called from implementations of
      * \Drupal\Core\Config\Entity\ConfigEntityInterface::calculateDependencies(),
      * as dependencies are recalculated during every entity save.
      *
      * @see \Drupal\Core\Config\Entity\ConfigEntityDependency::hasDependency()
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:422
      protected invalidateTagsOnSave($update) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Override to never invalidate the entity's cache tag; the config system
      * already invalidates it.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:484
      protected setCacheability(Drupal\Core\Cache\CacheableDependencyInterface $cacheability): $this Sets cacheability; useful for value object constructors.
      /**
      * Sets cacheability; useful for value object constructors.
      *
      * @param \Drupal\Core\Cache\CacheableDependencyInterface $cacheability
      *   The cacheability to set.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php:39
      protected entityTypeManager(): \Drupal\Core\Entity\EntityTypeManagerInterface Gets the entity type manager.
      /**
      * Gets the entity type manager.
      *
      * @return \Drupal\Core\Entity\EntityTypeManagerInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:72
      protected entityTypeBundleInfo(): \Drupal\Core\Entity\EntityTypeBundleInfoInterface Gets the entity type bundle info service.
      /**
      * Gets the entity type bundle info service.
      *
      * @return \Drupal\Core\Entity\EntityTypeBundleInfoInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:81
      protected languageManager(): \Drupal\Core\Language\LanguageManagerInterface Gets the language manager.
      /**
      * Gets the language manager.
      *
      * @return \Drupal\Core\Language\LanguageManagerInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:90
      protected uuidGenerator(): \Drupal\Component\Uuid\UuidInterface Gets the UUID generator.
      /**
      * Gets the UUID generator.
      *
      * @return \Drupal\Component\Uuid\UuidInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:99
      protected linkTemplates(): array Gets an array link templates.
      /**
      * Gets an array link templates.
      *
      * @return array
      *   An array of link templates containing paths.
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:233
      protected urlRouteParameters($rel): array Gets an array of placeholders for this entity.
      /**
      * Gets an array of placeholders for this entity.
      *
      * Individual entity classes may override this method to add additional
      * placeholders if desired. If so, they should be sure to replicate the
      * property caching logic.
      *
      * @param string $rel
      *   The link relationship type, for example: canonical or edit-form.
      *
      * @return array
      *   An array of URI placeholders.
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:263
      protected getListCacheTagsToInvalidate(): string[] The list cache tags to invalidate for this entity.
      /**
      * The list cache tags to invalidate for this entity.
      *
      * @return string[]
      *   Set of list cache tags.
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:446
      public static createFromBaseFieldDefinition(Drupal\Core\Field\BaseFieldDefinition $base_field_definition, $bundle): \Drupal\Core\Field\Entity\BaseFieldOverride Creates a base field override object.
      \Drupal\Core\Field\Entity\BaseFieldOverride::createFromBaseFieldDefinition(Drupal\Core\Field\BaseFieldDefinition $base_field_definition, $bundle)
      /**
      * Creates a base field override object.
      *
      * @param \Drupal\Core\Field\BaseFieldDefinition $base_field_definition
      *   The base field definition to override.
      * @param string $bundle
      *   The bundle to which the override applies.
      *
      * @return \Drupal\Core\Field\Entity\BaseFieldOverride
      *   A new base field override object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:68
      public static postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $field_overrides) {@inheritdoc}
      \Drupal\Core\Field\Entity\BaseFieldOverride::postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $field_overrides)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:223
      public static loadByName($entity_type_id, $bundle, $field_name): \Drupal\Core\Field\FieldConfigInterface|null Loads a base field bundle override config entity.
      \Drupal\Core\Field\Entity\BaseFieldOverride::loadByName($entity_type_id, $bundle, $field_name)
      /**
      * Loads a base field bundle override config entity.
      *
      * @param string $entity_type_id
      *   ID of the entity type.
      * @param string $bundle
      *   Bundle name.
      * @param string $field_name
      *   Name of the field.
      *
      * @return \Drupal\Core\Field\FieldConfigInterface|null
      *   The base field bundle override config entity if one exists for the
      *   provided field name, otherwise NULL.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php:252
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\FieldConfigBase::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:474
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\Field\FieldConfigBase::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:483
      public static sort(Drupal\Core\Config\Entity\ConfigEntityInterface $a, Drupal\Core\Config\Entity\ConfigEntityInterface $b) Helper callback for uasort() to sort configuration entities by weight and label.
      \Drupal\Core\Config\Entity\ConfigEntityBase::sort(Drupal\Core\Config\Entity\ConfigEntityInterface $a, Drupal\Core\Config\Entity\ConfigEntityInterface $b)
      /**
      * Helper callback for uasort() to sort configuration entities by weight and label.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:231
      public static preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities) {@inheritdoc}
      \Drupal\Core\Config\Entity\ConfigEntityBase::preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:552
      public static preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:398
      public static postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:423
      public static load($id) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::load($id)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:484
      public static loadMultiple(?array $ids = null) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::loadMultiple(?array $ids = null)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:494
      public static create(array $values = array()) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::create(array $values = array())
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:504
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected static invalidateTagsOnDelete(Drupal\Core\Entity\EntityTypeInterface $entity_type, array $entities) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Override to never invalidate the individual entities' cache tags; the
      * config system already invalidates them.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:494
      protected static getConfigManager(): \Drupal\Core\Config\ConfigManager Gets the configuration manager.
      /**
      * Gets the configuration manager.
      *
      * @return \Drupal\Core\Config\ConfigManager
      *   The configuration manager.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:579
    sticky => Drupal\Core\Field\BaseFieldDefinition#1892 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (9) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1894 (3) Depth Limit
      protected type -> string (7) "boolean"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    default_langcode => Drupal\Core\Field\BaseFieldDefinition#1897 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (9) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1900 (3) Depth Limit
      protected type -> string (7) "boolean"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    revision_default => Drupal\Core\Field\BaseFieldDefinition#1903 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (10) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1906 (3) Depth Limit
      protected type -> string (7) "boolean"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    revision_translation_affected => Drupal\Core\Field\BaseFieldDefinition#1909 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (9) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1912 (3) Depth Limit
      protected type -> string (7) "boolean"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    metatag => Drupal\Core\Field\BaseFieldDefinition#1915 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (10) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1918 (3) Depth Limit
      protected type -> string (16) "metatag_computed"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    path => Drupal\Core\Field\BaseFieldDefinition#1919 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (8) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1921 (3) Depth Limit
      protected type -> string (4) "path"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    menu_link => Drupal\Core\Field\BaseFieldDefinition#1922 (7)
    • Properties (7)
    • Available methods (94)
    • Static class properties
    • protected definition -> array (12) Depth Limit
      protected typedDataManager -> null
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition#1925 (3) Depth Limit
      protected type -> string (16) "entity_reference"
      protected propertyDefinitions -> null
      protected schema -> null
      protected indexes -> array (0)
    • public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public setName($name): static Sets the field name.
      /**
      * Sets the field name.
      *
      * @param string $name
      *   The field name to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Note that the method does not unset existing settings not specified in the
      * incoming $settings array.
      *
      * For example:
      * @code
      *   // Given these are the default settings.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'apple',
      *     'season' => 'summer',
      *   ];
      *   // Change only the 'fruit' setting.
      *   $field_definition->setSettings(['fruit' => 'banana']);
      *   // The 'season' setting persists unchanged.
      *   $field_definition->getSettings() === [
      *     'fruit' => 'banana',
      *     'season' => 'summer',
      *   ];
      * @endcode
      *
      * For clarity, it is preferred to use setSetting() if not all available
      * settings are supplied.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public getProvider() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public setProvider($provider): $this Sets the name of the provider of this field.
      /**
      * Sets the name of the provider of this field.
      *
      * @param string $provider
      *   The provider name to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public setTranslatable($translatable): $this Sets whether the field is translatable.
      /**
      * Sets whether the field is translatable.
      *
      * @param bool $translatable
      *   Whether the field is translatable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public isRevisionable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public setRevisionable($revisionable): $this Sets whether the field is revisionable.
      /**
      * Sets whether the field is revisionable.
      *
      * @param bool $revisionable
      *   Whether the field is revisionable.
      *
      * @return $this
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public getCardinality() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public setCardinality($cardinality): $this Sets the maximum number of items allowed for the field.
      /**
      * Sets the maximum number of items allowed for the field.
      *
      * Possible values are positive integers or
      * FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      *
      * Note that if the entity type that this base field is attached to is
      * revisionable and the field has a cardinality higher than 1, the field is
      * considered revisionable by default.
      *
      * @param int $cardinality
      *   The field cardinality.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public isMultiple() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public setPropertyConstraints($name, array $constraints): static Sets constraints for a given field item property.
      /**
      * Sets constraints for a given field item property.
      *
      * Note: this overwrites any existing property constraints. If you need to
      * add to the existing constraints, use
      * \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:306
      public addPropertyConstraints($name, array $constraints): static Adds constraints for a given field item property.
      /**
      * Adds constraints for a given field item property.
      *
      * Adds a constraint to a property of a base field item. e.g.
      * @code
      * // Limit the field item's value property to the range 0 through 10.
      * // e.g. $node->size->value.
      * $field->addPropertyConstraints('value', [
      *   'Range' => [
      *     'min' => 0,
      *     'max' => 10,
      *   ]
      * ]);
      * @endcode
      *
      * If you want to add a validation constraint that applies to the
      * \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      * instead.
      *
      * Note: passing a new set of options for an existing property constraint will
      * overwrite with the new options.
      *
      * @param string $name
      *   The name of the property to set constraints for.
      * @param array $constraints
      *   The constraints to set.
      *
      * @return static
      *   The object itself for chaining.
      *
      * @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:345
      public setDisplayOptions($display_context, array $options): static Sets the display options for the field in forms or rendered entities.
      /**
      * Sets the display options for the field in forms or rendered entities.
      *
      * This enables generic rendering of the field with widgets / formatters,
      * including automated support for "In place editing", and with optional
      * configurability in the "Manage display" / "Manage form display" UI screens.
      *
      * Unless this method is called, the field remains invisible (or requires
      * ad-hoc rendering logic).
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param array $options
      *   An array of display options. Refer to
      *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      *   a list of supported keys. The options should include at least a 'weight',
      *   or specify 'region' = 'hidden'. The 'default_widget' /
      *   'default_formatter' for the field type will be used if no 'type' is
      *   specified.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:381
      public setDisplayConfigurable($display_context, $configurable): static Sets whether the display for the field can be configured.
      /**
      * Sets whether the display for the field can be configured.
      *
      * @param string $display_context
      *   The display context. Either 'view' or 'form'.
      * @param bool $configurable
      *   Whether the display options can be configured (e.g., via the "Manage
      *   display" / "Manage form display" UI screens). If TRUE, the options
      *   specified via getDisplayOptions() act as defaults.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:399
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:411
      public isDisplayConfigurable($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:418
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:425
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:432
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:439
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:456
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:476
      public getInitialValue(): array Returns the initial value for the field.
      /**
      * Returns the initial value for the field.
      *
      * @return array
      *   The initial value for the field, as a numerically indexed array of items,
      *   each item being a property/value array (array() for no default value).
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:491
      public setInitialValue($value): $this Sets an initial value for the field.
      /**
      * Sets an initial value for the field.
      *
      * @param mixed $value
      *   The initial value for the field. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:510
      public getInitialValueFromField(): string|null Returns the name of the field that will be used for getting initial values.
      /**
      * Returns the name of the field that will be used for getting initial values.
      *
      * @return string|null
      *   The field name.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:527
      public setInitialValueFromField($field_name, $default_value = null): $this Sets a field that will be used for getting initial values.
      /**
      * Sets a field that will be used for getting initial values.
      *
      * @param string $field_name
      *   The name of the field that will be used for getting initial values.
      * @param mixed $default_value
      *   (optional) The default value for the field, in case the inherited value
      *   is NULL. This can be either:
      *   - a literal, in which case it will be assigned to the first property of
      *     the first item;
      *   - a numerically indexed array of items, each item being a property/value
      *     array;
      *   - a non-numerically indexed array, in which case the array is assumed to
      *     be a property/value array and used as the first item;
      *   - an empty array for no initial value.
      *   If the field being added is required or an entity key, it is recommended
      *   to provide a default value.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:551
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:560
      public getPropertyDefinition($name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:575
      public getPropertyDefinitions() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyNames() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:598
      public getMainPropertyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:605
      public __sleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:613
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:623
      public setTargetEntityTypeId($entity_type_id): $this Sets the ID of the type of the entity this field is attached to.
      /**
      * Sets the ID of the type of the entity this field is attached to.
      *
      * @param string $entity_type_id
      *   The name of the target entity type to set.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:635
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
      public setTargetBundle($bundle): $this Sets the bundle this field is defined for.
      /**
      * Sets the bundle this field is defined for.
      *
      * @param string|null $bundle
      *   The bundle, or NULL if the field is not bundle-specific.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:655
      public getSchema() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:663
      public getColumns() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:690
      public hasCustomStorage() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:698
      public isBaseField() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:705
      public setCustomStorage($custom_storage): $this Sets the storage behavior for this field.
      /**
      * Sets the storage behavior for this field.
      *
      * @param bool $custom_storage
      *   Pass FALSE if the storage takes care of storing the field,
      *   TRUE otherwise.
      *
      * @return $this
      *
      * @throws \LogicException
      *   Thrown if custom storage is to be set to FALSE for a computed field.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:721
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:732
      public getUniqueStorageIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:739
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:746
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:759
      public setDeleted($deleted): $this Sets whether the field storage is deleted.
      /**
      * Sets whether the field storage is deleted.
      *
      * @param bool $deleted
      *   Whether the field storage is deleted.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:771
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:779
      public isStorageRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public setStorageRequired($required): static Sets whether the field storage is required.
      /**
      * Sets whether the field storage is required.
      *
      * @param bool $required
      *   Whether the field storage is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:808
      public __clone() Magic method: Implements a deep clone.
      /**
      * Magic method: Implements a deep clone.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:816
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:833
      public __construct(array $values = array(), ?Drupal\Core\TypedData\DataDefinitionInterface $item_definition = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public setDataType($type) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition): $this Sets the item definition.
      /**
      * Sets the item definition.
      *
      * @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      *   A list item's data definition.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager): $this Sets the typed data manager.
      /**
      * Sets the typed data manager.
      *
      * @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      *   The typed data manager.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public getTypedDataManager(): \Drupal\Core\TypedData\TypedDataManagerInterface Gets the typed data manager.
      /**
      * Gets the typed data manager.
      *
      * @return \Drupal\Core\TypedData\TypedDataManagerInterface
      *   The typed data manager.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public setLabel($label): static Sets the human-readable label.
      /**
      * Sets the human-readable label.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $label
      *   The label to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public setDescription($description): static Sets the human-readable description.
      /**
      * Sets the human-readable description.
      *
      * @param string|\Drupal\Core\StringTranslation\TranslatableMarkup $description
      *   The description to set.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public setReadOnly($read_only): static Sets whether the data is read-only.
      /**
      * Sets whether the data is read-only.
      *
      * @param bool $read_only
      *   Whether the data is read-only.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public setComputed($computed): static Sets whether the data is computed.
      /**
      * Sets whether the data is computed.
      *
      * @param bool $computed
      *   Whether the data is computed.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public setRequired($required): static Sets whether the data is required.
      /**
      * Sets whether the data is required.
      *
      * @param bool $required
      *   Whether the data is required.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setClass($class): static Sets the class used for creating the typed data object.
      /**
      * Sets the class used for creating the typed data object.
      *
      * @param string|null $class
      *   The class to use.
      *
      * @return static
      *   The object itself for chaining.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public setConstraints(array $constraints): $this Sets an array of validation constraints.
      /**
      * Sets an array of validation constraints.
      *
      * @param array $constraints
      *   An array of validation constraint definitions, keyed by constraint name.
      *   Each constraint definition can be used for instantiating
      *   \Symfony\Component\Validator\Constraint objects.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public offsetExists($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:305
      public & offsetGet($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:318
      public offsetSet($offset, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:332
      public offsetUnset($offset) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * This is for BC support only.
      * @todo: Remove in https://www.drupal.org/node/1928868.
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:343
      public toArray(): array Returns all definition values as array.
      /**
      * Returns all definition values as array.
      *
      * @return array
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:352
      public setInternal($internal): $this Sets the whether the data value should be internal.
      /**
      * Sets the whether the data value should be internal.
      *
      * @param bool $internal
      *   Whether the data value should be internal.
      *
      * @return $this
      *
      * @see \Drupal\Core\TypedData\DataDefinitionInterface::isInternal
      */
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/DataDefinition.php:387
      public static create($type): static Creates a new field definition.
      \Drupal\Core\Field\BaseFieldDefinition::create($type)
      /**
      * Creates a new field definition.
      *
      * @param string $type
      *   The type of the field.
      *
      * @return static
      *   A new field definition object.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition): $this Creates a new field definition based upon a field storage definition.
      \Drupal\Core\Field\BaseFieldDefinition::createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition)
      /**
      * Creates a new field definition based upon a field storage definition.
      *
      * In cases where one needs a field storage definitions to act like full
      * field definitions, this creates a new field definition based upon the
      * (limited) information available. That way it is possible to use the field
      * definition in places where a full field definition is required; e.g., with
      * widgets or formatters.
      *
      * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      *   The field storage definition to base the new field definition upon.
      *
      * @return $this
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\BaseFieldDefinition::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\TypedData\ListDataDefinition::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in <ROOT>/core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
    • public const CARDINALITY_UNLIMITED :: integer -1
      \Drupal\Core\Field\BaseFieldDefinition::CARDINALITY_UNLIMITED
    body => Drupal\field\Entity\FieldConfig#1927 (35)
    • Properties (36)
    • Available methods (132)
    • public original -> undefined
      protected entityTypeId -> string (12) "field_config"
      protected enforceIsNew -> null
      protected typedData -> null
      protected cacheContexts -> array (1) Depth Limit
      protected cacheTags -> array (0)
      protected cacheMaxAge -> integer -1
      protected _serviceIds -> array (0)
      protected _entityStorages -> array (0)
      protected originalId -> string (14) "node.page.body"
      protected status -> boolean true
      protected uuid -> string (36) "4b09edcc-f5ab-4275-b0d0-f7b9830cf701"
      private isUninstalling -> boolean false
      protected langcode -> string (2) "ru"
      protected third_party_settings -> array (0)
      protected _core -> array (1) Depth Limit
      protected trustedData -> boolean false
      protected dependencies -> array (2) Depth Limit
      protected isSyncing -> boolean false
      protected id -> string (14) "node.page.body"
      protected field_name -> string (4) "body"
      protected field_type -> string (17) "text_with_summary"
      protected entity_type -> string (4) "node"
      protected bundle -> string (4) "page"
      protected label -> UTF-8 string (16) "Описание"
      protected description -> string (0) ""
      protected settings -> array (3) Depth Limit
      protected required -> boolean false
      protected translatable -> boolean true
      protected default_value -> array (0)
      protected default_value_callback -> string (0) ""
      protected fieldStorage -> null
      protected itemDefinition -> null
      protected constraints -> array (0)
      protected propertyConstraints -> array (0)
      protected deleted -> boolean false
    • public __construct(array $values, $entity_type = 'field_config') Constructs a FieldConfig object.
      /**
      * Constructs a FieldConfig object.
      *
      * In most cases, Field entities are created via
      * FieldConfig::create($values), where $values is the same
      * parameter as in this constructor.
      *
      * @param array $values
      *   An array of field properties, keyed by property name. The
      *   storage associated with the field can be specified either with:
      *   - field_storage: the FieldStorageConfigInterface object,
      *   or by referring to an existing field storage in the current configuration
      *   with:
      *   - field_name: The field name.
      *   - entity_type: The entity type.
      *   Additionally, a 'bundle' property is required to indicate the entity
      *   bundle to which the field is attached to. Other array elements will be
      *   used to set the corresponding properties on the class; see the class
      *   property documentation for details.
      * @param string $entity_type
      *   (optional) The entity type on which the field should be created.
      *   Defaults to "field_config".
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:107
      public postCreate(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:140
      public preSave(Drupal\Core\Entity\EntityStorageInterface $storage) Overrides \Drupal\Core\Entity\Entity::preSave().
      /**
      * Overrides \Drupal\Core\Entity\Entity::preSave().
      *
      * @throws \Drupal\Core\Field\FieldException
      *   If the field definition is invalid.
      * @throws \Drupal\Core\Entity\EntityStorageException
      *   In case of failures at the configuration storage level.
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:162
      public calculateDependencies() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:198
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:289
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:296
      public isDisplayConfigurable($context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:330
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:337
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:345
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:352
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:359
      public id() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:199
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:206
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:213
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:220
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:227
      public onDependencyRemoval(array $dependencies) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:261
      public postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:302
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:316
      public setLabel($label) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:323
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:331
      public setDescription($description) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:338
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:346
      public setTranslatable($translatable) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:354
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:362
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:369
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:377
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:389
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:397
      public setRequired($required) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:404
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:412
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:429
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:436
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:444
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:451
      public __sleep() Implements the magic __sleep() method.
      /**
      * Implements the magic __sleep() method.
      *
      * Using the Serialize interface and serialize() / unserialize() methods
      * breaks entity forms in PHP 5.4.
      * @todo Investigate in https://www.drupal.org/node/1977206.
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:463
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:492
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:505
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:512
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:522
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:529
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:537
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:561
      public setConstraints(array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:568
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:576
      public setPropertyConstraints($name, array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:584
      public addPropertyConstraints($name, array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:597
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:612
      public setSyncing($syncing) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:22
      public isSyncing() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:31
      public getOriginalId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:122
      public setOriginalId($id) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:129
      public isNew() Overrides Entity::isNew().
      /**
      * Overrides Entity::isNew().
      *
      * EntityInterface::enforceIsNew() is only supported for newly created
      * configuration entities but has no effect after saving, since each
      * configuration entity is unique.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:146
      public get($property_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:153
      public set($property_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:160
      public enable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:177
      public disable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:184
      public setStatus($status) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:191
      public status() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:199
      public setUninstalling($uninstalling) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:206
      public isUninstalling() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:213
      public createDuplicate() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:220
      public toArray() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:245
      public toUrl($rel = 'edit-form', array $options = array()) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:398
      public getCacheTagsToInvalidate() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:407
      public getDependencies() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:436
      public getConfigDependencyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:450
      public getConfigTarget() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:457
      public setThirdPartySetting($module, $key, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:505
      public getThirdPartySetting($module, $key, $default = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:513
      public getThirdPartySettings($module) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:525
      public unsetThirdPartySetting($module, $key) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:532
      public getThirdPartyProviders() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:545
      public isInstallable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:586
      public trustData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:593
      public hasTrustedData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:601
      public save() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:608
      public addCacheableDependency($other_object) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:15
      public addCacheContexts(array $cache_contexts) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:31
      public traitSleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
      public addCacheTags(array $cache_tags) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:41
      public mergeCacheMaxAge($max_age) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:51
      public __wakeup() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
      public uuid() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:113
      public enforceIsNew($value = true) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:127
      public getEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:136
      public bundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:143
      public label() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:150
      public hasLinkTemplate($rel) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:222
      public toLink($text = null, $rel = 'canonical', array $options = array()) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:240
      public uriRelationships() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:284
      public access($operation, ?Drupal\Core\Session\AccountInterface $account = null, $return_as_object = false) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:306
      public language() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:320
      public delete() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:345
      public getEntityType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:371
      public referencedEntities() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:429
      public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:436
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:467
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:477
      public getTypedData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:588
      public getConfigDependencyKey() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:633
      protected linkTemplates() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:261
      protected urlRouteParameters($rel) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:278
      protected addDependencyTrait($type, $name): $this Adds a dependency.
      /**
      * Adds a dependency.
      *
      * @param string $type
      *   Type of dependency being added: 'module', 'theme', 'config', 'content'.
      * @param string $name
      *   If $type is 'module' or 'theme', the name of the module or theme. If
      *   $type is 'config' or 'content', the result of
      *   EntityInterface::getConfigDependencyName().
      *
      * @see \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/DependencyTrait.php:31
      protected getPluginDependencies(Drupal\Component\Plugin\PluginInspectionInterface $instance): array Calculates and returns dependencies of a specific plugin instance.
      /**
      * Calculates and returns dependencies of a specific plugin instance.
      *
      * Dependencies are added for the module that provides the plugin, as well
      * as any dependencies declared by the instance's calculateDependencies()
      * method, if it implements
      * \Drupal\Component\Plugin\DependentPluginInterface.
      *
      * @param \Drupal\Component\Plugin\PluginInspectionInterface $instance
      *   The plugin instance.
      *
      * @return array
      *   An array of dependencies keyed by the type of dependency.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:33
      protected addDependencies(array $dependencies) Adds multiple dependencies.
      /**
      * Adds multiple dependencies.
      *
      * @param array $dependencies
      *   An array of dependencies keyed by the type of dependency. One example:
      *   @code
      *   array(
      *     'module' => array(
      *       'node',
      *       'field',
      *       'image',
      *     ),
      *   );
      *   @endcode
      *
      * @see \Drupal\Core\Entity\DependencyTrait::addDependency
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/DependencyTrait.php:64
      protected calculatePluginDependencies(Drupal\Component\Plugin\PluginInspectionInterface $instance) Calculates and adds dependencies of a specific plugin instance.
      /**
      * Calculates and adds dependencies of a specific plugin instance.
      *
      * Dependencies are added for the module that provides the plugin, as well
      * as any dependencies declared by the instance's calculateDependencies()
      * method, if it implements
      * \Drupal\Component\Plugin\DependentPluginInterface.
      *
      * @param \Drupal\Component\Plugin\PluginInspectionInterface $instance
      *   The plugin instance.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:88
      protected moduleHandler(): \Drupal\Core\Extension\ModuleHandlerInterface Wraps the module handler.
      /**
      * Wraps the module handler.
      *
      * @return \Drupal\Core\Extension\ModuleHandlerInterface
      *   The module handler.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:98
      protected themeHandler(): \Drupal\Core\Extension\ThemeHandlerInterface Wraps the theme handler.
      /**
      * Wraps the theme handler.
      *
      * @return \Drupal\Core\Extension\ThemeHandlerInterface
      *   The theme handler.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:108
      protected getTypedConfig(): \Drupal\Core\Config\TypedConfigManagerInterface Gets the typed config manager.
      /**
      * Gets the typed config manager.
      *
      * @return \Drupal\Core\Config\TypedConfigManagerInterface
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:280
      protected addDependency($type, $name) Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
      /**
      * Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
      *
      * Note that this function should only be called from implementations of
      * \Drupal\Core\Config\Entity\ConfigEntityInterface::calculateDependencies(),
      * as dependencies are recalculated during every entity save.
      *
      * @see \Drupal\Core\Config\Entity\ConfigEntityDependency::hasDependency()
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:422
      protected invalidateTagsOnSave($update) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Override to never invalidate the entity's cache tag; the config system
      * already invalidates it.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:484
      protected setCacheability(Drupal\Core\Cache\CacheableDependencyInterface $cacheability): $this Sets cacheability; useful for value object constructors.
      /**
      * Sets cacheability; useful for value object constructors.
      *
      * @param \Drupal\Core\Cache\CacheableDependencyInterface $cacheability
      *   The cacheability to set.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php:39
      protected entityTypeManager(): \Drupal\Core\Entity\EntityTypeManagerInterface Gets the entity type manager.
      /**
      * Gets the entity type manager.
      *
      * @return \Drupal\Core\Entity\EntityTypeManagerInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:72
      protected entityTypeBundleInfo(): \Drupal\Core\Entity\EntityTypeBundleInfoInterface Gets the entity type bundle info service.
      /**
      * Gets the entity type bundle info service.
      *
      * @return \Drupal\Core\Entity\EntityTypeBundleInfoInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:81
      protected languageManager(): \Drupal\Core\Language\LanguageManagerInterface Gets the language manager.
      /**
      * Gets the language manager.
      *
      * @return \Drupal\Core\Language\LanguageManagerInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:90
      protected uuidGenerator(): \Drupal\Component\Uuid\UuidInterface Gets the UUID generator.
      /**
      * Gets the UUID generator.
      *
      * @return \Drupal\Component\Uuid\UuidInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:99
      protected getListCacheTagsToInvalidate(): string[] The list cache tags to invalidate for this entity.
      /**
      * The list cache tags to invalidate for this entity.
      *
      * @return string[]
      *   Set of list cache tags.
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:446
      public static preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields) {@inheritdoc}
      \Drupal\field\Entity\FieldConfig::preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:208
      public static postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields) {@inheritdoc}
      \Drupal\field\Entity\FieldConfig::postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:234
      public static loadByName($entity_type_id, $bundle, $field_name): \Drupal\field\FieldConfigInterface|null Loads a field config entity based on the entity type and field name.
      \Drupal\field\Entity\FieldConfig::loadByName($entity_type_id, $bundle, $field_name)
      /**
      * Loads a field config entity based on the entity type and field name.
      *
      * @param string $entity_type_id
      *   ID of the entity type.
      * @param string $bundle
      *   Bundle name.
      * @param string $field_name
      *   Name of the field.
      *
      * @return \Drupal\field\FieldConfigInterface|null
      *   The field config entity if one exists for the provided field
      *   name, otherwise NULL.
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:377
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\FieldConfigBase::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:474
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\Field\FieldConfigBase::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:483
      public static sort(Drupal\Core\Config\Entity\ConfigEntityInterface $a, Drupal\Core\Config\Entity\ConfigEntityInterface $b) Helper callback for uasort() to sort configuration entities by weight and label.
      \Drupal\Core\Config\Entity\ConfigEntityBase::sort(Drupal\Core\Config\Entity\ConfigEntityInterface $a, Drupal\Core\Config\Entity\ConfigEntityInterface $b)
      /**
      * Helper callback for uasort() to sort configuration entities by weight and label.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:231
      public static preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:398
      public static postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:423
      public static load($id) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::load($id)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:484
      public static loadMultiple(?array $ids = null) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::loadMultiple(?array $ids = null)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:494
      public static create(array $values = array()) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::create(array $values = array())
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:504
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected static invalidateTagsOnDelete(Drupal\Core\Entity\EntityTypeInterface $entity_type, array $entities) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Override to never invalidate the individual entities' cache tags; the
      * config system already invalidates them.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:494
      protected static getConfigManager(): \Drupal\Core\Config\ConfigManager Gets the configuration manager.
      /**
      * Gets the configuration manager.
      *
      * @return \Drupal\Core\Config\ConfigManager
      *   The configuration manager.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:579
    field_metatags => Drupal\field\Entity\FieldConfig#1928 (35)
    • Properties (36)
    • Available methods (132)
    • public original -> undefined
      protected entityTypeId -> string (12) "field_config"
      protected enforceIsNew -> null
      protected typedData -> null
      protected cacheContexts -> array (1) Depth Limit
      protected cacheTags -> array (0)
      protected cacheMaxAge -> integer -1
      protected _serviceIds -> array (0)
      protected _entityStorages -> array (0)
      protected originalId -> string (24) "node.page.field_metatags"
      protected status -> boolean true
      protected uuid -> string (36) "baf218d6-3ab1-4c91-8354-2023de4298b1"
      private isUninstalling -> boolean false
      protected langcode -> string (2) "ru"
      protected third_party_settings -> array (0)
      protected _core -> array (0)
      protected trustedData -> boolean false
      protected dependencies -> array (2) Depth Limit
      protected isSyncing -> boolean false
      protected id -> string (24) "node.page.field_metatags"
      protected field_name -> string (14) "field_metatags"
      protected field_type -> string (7) "metatag"
      protected entity_type -> string (4) "node"
      protected bundle -> string (4) "page"
      protected label -> UTF-8 string (16) "Метатеги"
      protected description -> string (0) ""
      protected settings -> array (0)
      protected required -> boolean false
      protected translatable -> boolean false
      protected default_value -> array (0)
      protected default_value_callback -> string (0) ""
      protected fieldStorage -> null
      protected itemDefinition -> null
      protected constraints -> array (0)
      protected propertyConstraints -> array (0)
      protected deleted -> boolean false
    • public __construct(array $values, $entity_type = 'field_config') Constructs a FieldConfig object.
      /**
      * Constructs a FieldConfig object.
      *
      * In most cases, Field entities are created via
      * FieldConfig::create($values), where $values is the same
      * parameter as in this constructor.
      *
      * @param array $values
      *   An array of field properties, keyed by property name. The
      *   storage associated with the field can be specified either with:
      *   - field_storage: the FieldStorageConfigInterface object,
      *   or by referring to an existing field storage in the current configuration
      *   with:
      *   - field_name: The field name.
      *   - entity_type: The entity type.
      *   Additionally, a 'bundle' property is required to indicate the entity
      *   bundle to which the field is attached to. Other array elements will be
      *   used to set the corresponding properties on the class; see the class
      *   property documentation for details.
      * @param string $entity_type
      *   (optional) The entity type on which the field should be created.
      *   Defaults to "field_config".
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:107
      public postCreate(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:140
      public preSave(Drupal\Core\Entity\EntityStorageInterface $storage) Overrides \Drupal\Core\Entity\Entity::preSave().
      /**
      * Overrides \Drupal\Core\Entity\Entity::preSave().
      *
      * @throws \Drupal\Core\Field\FieldException
      *   If the field definition is invalid.
      * @throws \Drupal\Core\Entity\EntityStorageException
      *   In case of failures at the configuration storage level.
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:162
      public calculateDependencies() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:198
      public isDeleted() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:289
      public getFieldStorageDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:296
      public isDisplayConfigurable($context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:330
      public getDisplayOptions($display_context) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:337
      public isReadOnly() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:345
      public isComputed() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:352
      public getUniqueIdentifier() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:359
      public id() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:199
      public getName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:206
      public getType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:213
      public getTargetEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:220
      public getTargetBundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:227
      public onDependencyRemoval(array $dependencies) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:261
      public postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:302
      public getLabel() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:316
      public setLabel($label) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:323
      public getDescription() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:331
      public setDescription($description) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:338
      public isTranslatable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:346
      public setTranslatable($translatable) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:354
      public getSettings() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:362
      public setSettings(array $settings) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:369
      public getSetting($setting_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:377
      public setSetting($setting_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:389
      public isRequired() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:397
      public setRequired($required) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:404
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:412
      public getDefaultValueLiteral() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:429
      public setDefaultValue($value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:436
      public getDefaultValueCallback() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:444
      public setDefaultValueCallback($callback) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:451
      public __sleep() Implements the magic __sleep() method.
      /**
      * Implements the magic __sleep() method.
      *
      * Using the Serialize interface and serialize() / unserialize() methods
      * breaks entity forms in PHP 5.4.
      * @todo Investigate in https://www.drupal.org/node/1977206.
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:463
      public getDataType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:492
      public isList() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:505
      public getClass() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:512
      public getConstraints() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:522
      public getConstraint($constraint_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:529
      public getItemDefinition() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:537
      public getConfig($bundle) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:561
      public setConstraints(array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:568
      public addConstraint($constraint_name, $options = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:576
      public setPropertyConstraints($name, array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:584
      public addPropertyConstraints($name, array $constraints) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:597
      public isInternal() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:612
      public setSyncing($syncing) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:22
      public isSyncing() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:31
      public getOriginalId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:122
      public setOriginalId($id) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:129
      public isNew() Overrides Entity::isNew().
      /**
      * Overrides Entity::isNew().
      *
      * EntityInterface::enforceIsNew() is only supported for newly created
      * configuration entities but has no effect after saving, since each
      * configuration entity is unique.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:146
      public get($property_name) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:153
      public set($property_name, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:160
      public enable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:177
      public disable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:184
      public setStatus($status) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:191
      public status() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:199
      public setUninstalling($uninstalling) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:206
      public isUninstalling() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:213
      public createDuplicate() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:220
      public toArray() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:245
      public toUrl($rel = 'edit-form', array $options = array()) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:398
      public getCacheTagsToInvalidate() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:407
      public getDependencies() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:436
      public getConfigDependencyName() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:450
      public getConfigTarget() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:457
      public setThirdPartySetting($module, $key, $value) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:505
      public getThirdPartySetting($module, $key, $default = null) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:513
      public getThirdPartySettings($module) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:525
      public unsetThirdPartySetting($module, $key) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:532
      public getThirdPartyProviders() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:545
      public isInstallable() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:586
      public trustData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:593
      public hasTrustedData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:601
      public save() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:608
      public addCacheableDependency($other_object) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:15
      public addCacheContexts(array $cache_contexts) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:31
      public traitSleep() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
      public addCacheTags(array $cache_tags) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:41
      public mergeCacheMaxAge($max_age) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:51
      public __wakeup() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
      public uuid() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:113
      public enforceIsNew($value = true) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:127
      public getEntityTypeId() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:136
      public bundle() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:143
      public label() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:150
      public hasLinkTemplate($rel) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:222
      public toLink($text = null, $rel = 'canonical', array $options = array()) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:240
      public uriRelationships() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:284
      public access($operation, ?Drupal\Core\Session\AccountInterface $account = null, $return_as_object = false) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:306
      public language() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:320
      public delete() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:345
      public getEntityType() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:371
      public referencedEntities() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:429
      public getCacheContexts() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:436
      public getCacheTags() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:467
      public getCacheMaxAge() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:477
      public getTypedData() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:588
      public getConfigDependencyKey() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:633
      protected linkTemplates() {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:261
      protected urlRouteParameters($rel) {@inheritdoc}
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:278
      protected addDependencyTrait($type, $name): $this Adds a dependency.
      /**
      * Adds a dependency.
      *
      * @param string $type
      *   Type of dependency being added: 'module', 'theme', 'config', 'content'.
      * @param string $name
      *   If $type is 'module' or 'theme', the name of the module or theme. If
      *   $type is 'config' or 'content', the result of
      *   EntityInterface::getConfigDependencyName().
      *
      * @see \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/DependencyTrait.php:31
      protected getPluginDependencies(Drupal\Component\Plugin\PluginInspectionInterface $instance): array Calculates and returns dependencies of a specific plugin instance.
      /**
      * Calculates and returns dependencies of a specific plugin instance.
      *
      * Dependencies are added for the module that provides the plugin, as well
      * as any dependencies declared by the instance's calculateDependencies()
      * method, if it implements
      * \Drupal\Component\Plugin\DependentPluginInterface.
      *
      * @param \Drupal\Component\Plugin\PluginInspectionInterface $instance
      *   The plugin instance.
      *
      * @return array
      *   An array of dependencies keyed by the type of dependency.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:33
      protected addDependencies(array $dependencies) Adds multiple dependencies.
      /**
      * Adds multiple dependencies.
      *
      * @param array $dependencies
      *   An array of dependencies keyed by the type of dependency. One example:
      *   @code
      *   array(
      *     'module' => array(
      *       'node',
      *       'field',
      *       'image',
      *     ),
      *   );
      *   @endcode
      *
      * @see \Drupal\Core\Entity\DependencyTrait::addDependency
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/DependencyTrait.php:64
      protected calculatePluginDependencies(Drupal\Component\Plugin\PluginInspectionInterface $instance) Calculates and adds dependencies of a specific plugin instance.
      /**
      * Calculates and adds dependencies of a specific plugin instance.
      *
      * Dependencies are added for the module that provides the plugin, as well
      * as any dependencies declared by the instance's calculateDependencies()
      * method, if it implements
      * \Drupal\Component\Plugin\DependentPluginInterface.
      *
      * @param \Drupal\Component\Plugin\PluginInspectionInterface $instance
      *   The plugin instance.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:88
      protected moduleHandler(): \Drupal\Core\Extension\ModuleHandlerInterface Wraps the module handler.
      /**
      * Wraps the module handler.
      *
      * @return \Drupal\Core\Extension\ModuleHandlerInterface
      *   The module handler.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:98
      protected themeHandler(): \Drupal\Core\Extension\ThemeHandlerInterface Wraps the theme handler.
      /**
      * Wraps the theme handler.
      *
      * @return \Drupal\Core\Extension\ThemeHandlerInterface
      *   The theme handler.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php:108
      protected getTypedConfig(): \Drupal\Core\Config\TypedConfigManagerInterface Gets the typed config manager.
      /**
      * Gets the typed config manager.
      *
      * @return \Drupal\Core\Config\TypedConfigManagerInterface
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:280
      protected addDependency($type, $name) Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
      /**
      * Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
      *
      * Note that this function should only be called from implementations of
      * \Drupal\Core\Config\Entity\ConfigEntityInterface::calculateDependencies(),
      * as dependencies are recalculated during every entity save.
      *
      * @see \Drupal\Core\Config\Entity\ConfigEntityDependency::hasDependency()
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:422
      protected invalidateTagsOnSave($update) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Override to never invalidate the entity's cache tag; the config system
      * already invalidates it.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:484
      protected setCacheability(Drupal\Core\Cache\CacheableDependencyInterface $cacheability): $this Sets cacheability; useful for value object constructors.
      /**
      * Sets cacheability; useful for value object constructors.
      *
      * @param \Drupal\Core\Cache\CacheableDependencyInterface $cacheability
      *   The cacheability to set.
      *
      * @return $this
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php:39
      protected entityTypeManager(): \Drupal\Core\Entity\EntityTypeManagerInterface Gets the entity type manager.
      /**
      * Gets the entity type manager.
      *
      * @return \Drupal\Core\Entity\EntityTypeManagerInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:72
      protected entityTypeBundleInfo(): \Drupal\Core\Entity\EntityTypeBundleInfoInterface Gets the entity type bundle info service.
      /**
      * Gets the entity type bundle info service.
      *
      * @return \Drupal\Core\Entity\EntityTypeBundleInfoInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:81
      protected languageManager(): \Drupal\Core\Language\LanguageManagerInterface Gets the language manager.
      /**
      * Gets the language manager.
      *
      * @return \Drupal\Core\Language\LanguageManagerInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:90
      protected uuidGenerator(): \Drupal\Component\Uuid\UuidInterface Gets the UUID generator.
      /**
      * Gets the UUID generator.
      *
      * @return \Drupal\Component\Uuid\UuidInterface
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:99
      protected getListCacheTagsToInvalidate(): string[] The list cache tags to invalidate for this entity.
      /**
      * The list cache tags to invalidate for this entity.
      *
      * @return string[]
      *   Set of list cache tags.
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:446
      public static preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields) {@inheritdoc}
      \Drupal\field\Entity\FieldConfig::preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:208
      public static postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields) {@inheritdoc}
      \Drupal\field\Entity\FieldConfig::postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $fields)
      /**
      * {@inheritdoc}
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:234
      public static loadByName($entity_type_id, $bundle, $field_name): \Drupal\field\FieldConfigInterface|null Loads a field config entity based on the entity type and field name.
      \Drupal\field\Entity\FieldConfig::loadByName($entity_type_id, $bundle, $field_name)
      /**
      * Loads a field config entity based on the entity type and field name.
      *
      * @param string $entity_type_id
      *   ID of the entity type.
      * @param string $bundle
      *   Bundle name.
      * @param string $field_name
      *   Name of the field.
      *
      * @return \Drupal\field\FieldConfigInterface|null
      *   The field config entity if one exists for the provided field
      *   name, otherwise NULL.
      */
      
      Defined in <ROOT>/core/modules/field/src/Entity/FieldConfig.php:377
      public static createFromItemType($item_type) {@inheritdoc}
      \Drupal\Core\Field\FieldConfigBase::createFromItemType($item_type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:474
      public static createFromDataType($type) {@inheritdoc}
      \Drupal\Core\Field\FieldConfigBase::createFromDataType($type)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldConfigBase.php:483
      public static sort(Drupal\Core\Config\Entity\ConfigEntityInterface $a, Drupal\Core\Config\Entity\ConfigEntityInterface $b) Helper callback for uasort() to sort configuration entities by weight and label.
      \Drupal\Core\Config\Entity\ConfigEntityBase::sort(Drupal\Core\Config\Entity\ConfigEntityInterface $a, Drupal\Core\Config\Entity\ConfigEntityInterface $b)
      /**
      * Helper callback for uasort() to sort configuration entities by weight and label.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:231
      public static preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:398
      public static postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:423
      public static load($id) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::load($id)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:484
      public static loadMultiple(?array $ids = null) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::loadMultiple(?array $ids = null)
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:494
      public static create(array $values = array()) {@inheritdoc}
      \Drupal\Core\Entity\EntityBase::create(array $values = array())
      /**
      * {@inheritdoc}
      */
      
      Inherited from Drupal\Core\Entity\EntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:504
      protected static normalizeValue(&$value, $main_property_name): array Ensure a field value is transformed into a format keyed by delta.
      /**
      * Ensure a field value is transformed into a format keyed by delta.
      *
      * @param mixed $value
      *   The raw field value to normalize.
      * @param string $main_property_name
      *   The main field property name.
      *
      * @return array
      *   A field value normalized into a format keyed by delta.
      */
      
      Inherited from Drupal\Core\Field\FieldConfigBase
      Defined in <ROOT>/core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected static invalidateTagsOnDelete(Drupal\Core\Entity\EntityTypeInterface $entity_type, array $entities) {@inheritdoc}
      /**
      * {@inheritdoc}
      *
      * Override to never invalidate the individual entities' cache tags; the
      * config system already invalidates them.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:494
      protected static getConfigManager(): \Drupal\Core\Config\ConfigManager Gets the configuration manager.
      /**
      * Gets the configuration manager.
      *
      * @return \Drupal\Core\Config\ConfigManager
      *   The configuration manager.
      */
      
      Inherited from Drupal\Core\Config\Entity\ConfigEntityBase
      Defined in <ROOT>/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:579
    protected languages -> null
    protected langcodeKey -> string (8) "langcode"
    protected defaultLangcodeKey -> string (16) "default_langcode"
    protected activeLangcode -> string (9) "x-default"
    protected defaultLangcode -> string (2) "ru"
    protected translations -> array (1)
    x-default => array (1)
    status => integer 1
    protected translationInitialize -> boolean false
    protected newRevision -> boolean false
    protected isDefaultRevision -> string (1) "1"
    protected entityKeys -> array (4)
    bundle => string (4) "page"
    id => string (1) "1"
    revision => string (1) "1"
    uuid => string (36) "1f20dcc0-8924-4b6f-9584-0de160108e82"
    protected translatableEntityKeys -> array (8)
    label => array (1)
    x-default => string (3) "404"
    langcode => array (1)
    x-default => string (2) "ru"
    status => array (1)
    x-default => string (1) "1"
    published => array (1)
    x-default => string (1) "1"
    uid => array (1)
    x-default => string (1) "1"
    owner => array (1)
    x-default => string (1) "1"
    default_langcode => array (1)
    x-default => string (1) "1"
    revision_translation_affected => array (1)
    x-default => string (1) "1"
    protected validated -> boolean false
    protected validationRequired -> boolean false
    protected loadedRevisionId -> string (1) "1"
    protected revisionTranslationAffectedKey -> string (29) "revision_translation_affected"
    protected enforceRevisionTranslationAffected -> array (0)
    protected isSyncing -> boolean false
    public in_preview -> null
    $0->in_preview
  • public getOwnerId() {@inheritdoc}
    $0->getOwnerId()
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:48
    public setOwnerId($uid) {@inheritdoc}
    $0->setOwnerId($uid)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:55
    public getOwner() {@inheritdoc}
    $0->getOwner()
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:65
    public setOwner(Drupal\user\UserInterface $account) {@inheritdoc}
    $0->setOwner(Drupal\user\UserInterface $account)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:73
    public preSave(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}
    $0->preSave(Drupal\Core\Entity\EntityStorageInterface $storage)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:102
    public preSaveRevision(Drupal\Core\Entity\EntityStorageInterface $storage, stdClass $record) {@inheritdoc}
    $0->preSaveRevision(Drupal\Core\Entity\EntityStorageInterface $storage, stdClass $record)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:124
    public postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true) {@inheritdoc}
    $0->postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:139
    public getType() {@inheritdoc}
    $0->getType()
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:186
    public access($operation = 'view', ?Drupal\Core\Session\AccountInterface $account = null, $return_as_object = false) {@inheritdoc}
    $0->access($operation = 'view', ?Drupal\Core\Session\AccountInterface $account = null, $return_as_object = false)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:193
    public getTitle() {@inheritdoc}
    $0->getTitle()
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:201
    public setTitle($title) {@inheritdoc}
    $0->setTitle($title)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:208
    public getCreatedTime() {@inheritdoc}
    $0->getCreatedTime()
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:216
    public setCreatedTime($timestamp) {@inheritdoc}
    $0->setCreatedTime($timestamp)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:223
    public isPromoted() {@inheritdoc}
    $0->isPromoted()
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:231
    public setPromoted($promoted) {@inheritdoc}
    $0->setPromoted($promoted)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:238
    public isSticky() {@inheritdoc}
    $0->isSticky()
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:246
    public setSticky($sticky) {@inheritdoc}
    $0->setSticky($sticky)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:253
    public getChangedTimeAcrossTranslations(): int Returns the timestamp of the last entity change across all translations.
    $0->getChangedTimeAcrossTranslations()
    /**
    * Returns the timestamp of the last entity change across all translations.
    *
    * @return int
    *   The timestamp of the last entity save operation across all
    *   translations.
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangedTrait.php:17
    public getChangedTime(): int|null Gets the timestamp of the last entity change for the current translation.
    $0->getChangedTime()
    /**
    * Gets the timestamp of the last entity change for the current translation.
    *
    * @return int|null
    *   The timestamp of the last entity save operation. Some entities allow a
    *   NULL value indicating the changed time is unknown.
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangedTrait.php:33
    public setChangedTime($timestamp): $this Sets the timestamp of the last entity change for the current translation.
    $0->setChangedTime($timestamp)
    /**
    * Sets the timestamp of the last entity change for the current translation.
    *
    * @param int $timestamp
    *   The timestamp of the last entity save operation.
    *
    * @return $this
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangedTrait.php:46
    public isPublished() {@inheritdoc}
    $0->isPublished()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:47
    public setPublished() {@inheritdoc}
    $0->setPublished()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:54
    public setUnpublished() {@inheritdoc}
    $0->setUnpublished()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:64
    public getRevisionCreationTime() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().
    $0->getRevisionCreationTime()
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:69
    public setRevisionCreationTime($timestamp) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().
    $0->setRevisionCreationTime($timestamp)
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:76
    public getRevisionUser() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().
    $0->getRevisionUser()
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:84
    public setRevisionUser(Drupal\user\UserInterface $account) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser().
    $0->setRevisionUser(Drupal\user\UserInterface $account)
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:91
    public getRevisionUserId() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId().
    $0->getRevisionUserId()
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:99
    public setRevisionUserId($user_id) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId().
    $0->setRevisionUserId($user_id)
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:106
    public getRevisionLogMessage() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionLogMessage().
    $0->getRevisionLogMessage()
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionLogMessage().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:114
    public setRevisionLogMessage($revision_log_message) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage().
    $0->setRevisionLogMessage($revision_log_message)
    /**
    * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage().
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:121
    public setSyncing($syncing) {@inheritdoc}
    $0->setSyncing($syncing)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:22
    public isSyncing() {@inheritdoc}
    $0->isSyncing()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:31
    public __construct(array $values, $entity_type, $bundle = false, $translations = array()) {@inheritdoc}
    new \Drupal\node\Entity\Node(array $values, $entity_type, $bundle = false, $translations = array())
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:189
    public postCreate(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}
    $0->postCreate(Drupal\Core\Entity\EntityStorageInterface $storage)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:284
    public setNewRevision($value = true) {@inheritdoc}
    $0->setNewRevision($value = true)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:291
    public getLoadedRevisionId() {@inheritdoc}
    $0->getLoadedRevisionId()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:313
    public updateLoadedRevisionId() {@inheritdoc}
    $0->updateLoadedRevisionId()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:320
    public isNewRevision() {@inheritdoc}
    $0->isNewRevision()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:328
    public isDefaultRevision($new_value = null) {@inheritdoc}
    $0->isDefaultRevision($new_value = null)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:335
    public wasDefaultRevision() {@inheritdoc}
    $0->wasDefaultRevision()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:348
    public isLatestRevision() {@inheritdoc}
    $0->isLatestRevision()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:363
    public isLatestTranslationAffectedRevision() {@inheritdoc}
    $0->isLatestTranslationAffectedRevision()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:373
    public isRevisionTranslationAffected() {@inheritdoc}
    $0->isRevisionTranslationAffected()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:383
    public setRevisionTranslationAffected($affected) {@inheritdoc}
    $0->setRevisionTranslationAffected($affected)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:390
    public isRevisionTranslationAffectedEnforced() {@inheritdoc}
    $0->isRevisionTranslationAffectedEnforced()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:400
    public setRevisionTranslationAffectedEnforced($enforced) {@inheritdoc}
    $0->setRevisionTranslationAffectedEnforced($enforced)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:407
    public isDefaultTranslation() {@inheritdoc}
    $0->isDefaultTranslation()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:415
    public getRevisionId() {@inheritdoc}
    $0->getRevisionId()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:422
    public isTranslatable() {@inheritdoc}
    $0->isTranslatable()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:429
    public validate() {@inheritdoc}
    $0->validate()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:483
    public isValidationRequired() {@inheritdoc}
    $0->isValidationRequired()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:492
    public setValidationRequired($required) {@inheritdoc}
    $0->setValidationRequired($required)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:499
    public __sleep() {@inheritdoc}
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:516
    public id() {@inheritdoc}
    $0->id()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:534
    public bundle() {@inheritdoc}
    $0->bundle()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:541
    public uuid() {@inheritdoc}
    $0->uuid()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:548
    public hasField($field_name) {@inheritdoc}
    $0->hasField($field_name)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:555
    public get($field_name) {@inheritdoc}
    $0->get($field_name)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:562
    public set($name, $value, $notify = true) {@inheritdoc}
    $0->set($name, $value, $notify = true)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:620
    public getFields($include_computed = true) {@inheritdoc}
    $0->getFields($include_computed = true)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:631
    public getTranslatableFields($include_computed = true) {@inheritdoc}
    $0->getTranslatableFields($include_computed = true)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:644
    public getIterator() {@inheritdoc}
    $0->getIterator()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:658
    public getFieldDefinition($name) {@inheritdoc}
    $0->getFieldDefinition($name)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:665
    public getFieldDefinitions() {@inheritdoc}
    $0->getFieldDefinitions()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:677
    public toArray() {@inheritdoc}
    $0->toArray()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:687
    public language() {@inheritdoc}
    $0->language()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:712
    public onChange($name) {@inheritdoc}
    $0->onChange($name)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:778
    public getTranslation($langcode) {@inheritdoc}
    $0->getTranslation($langcode)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:844
    public getUntranslated() {@inheritdoc}
    $0->getUntranslated()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:879
    public hasTranslation($langcode) {@inheritdoc}
    $0->hasTranslation($langcode)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:930
    public isNewTranslation() {@inheritdoc}
    $0->isNewTranslation()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:940
    public addTranslation($langcode, array $values = array()) {@inheritdoc}
    $0->addTranslation($langcode, array $values = array())
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:947
    public removeTranslation($langcode) {@inheritdoc}
    $0->removeTranslation($langcode)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:968
    public getTranslationStatus($langcode) {@inheritdoc}
    $0->getTranslationStatus($langcode)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:997
    public getTranslationLanguages($include_default = true) {@inheritdoc}
    $0->getTranslationLanguages($include_default = true)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1007
    public updateOriginalValues() Updates the original values with the interim changes.
    $0->updateOriginalValues()
    /**
    * Updates the original values with the interim changes.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1024
    public & __get($name) Implements the magic method for getting object properties.
    /**
    * Implements the magic method for getting object properties.
    *
    * @todo: A lot of code still uses non-fields (e.g. $entity->content in view
    *   builders) by reference. Clean that up.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1044
    public __set($name, $value) Implements the magic method for setting object properties.
    /**
    * Implements the magic method for setting object properties.
    *
    * Uses default language always.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1071
    public __isset($name) Implements the magic method for isset().
    /**
    * Implements the magic method for isset().
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1105
    public __unset($name) Implements the magic method for unset().
    /**
    * Implements the magic method for unset().
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1114
    public createDuplicate() {@inheritdoc}
    $0->createDuplicate()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1145
    public __clone() Magic method: Implements a deep clone.
    clone $0
    /**
    * Magic method: Implements a deep clone.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1174
    public label() {@inheritdoc}
    $0->label()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1260
    public referencedEntities() {@inheritdoc}
    $0->referencedEntities()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1269
    public hasTranslationChanges() {@inheritdoc}
    $0->hasTranslationChanges()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1409
    public isDefaultTranslationAffectedOnly() {@inheritdoc}
    $0->isDefaultTranslationAffectedOnly()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1468
    public addCacheableDependency($other_object) {@inheritdoc}
    $0->addCacheableDependency($other_object)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:15
    public addCacheContexts(array $cache_contexts) {@inheritdoc}
    $0->addCacheContexts(array $cache_contexts)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:31
    public traitSleep() {@inheritdoc}
    $0->traitSleep()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
    public addCacheTags(array $cache_tags) {@inheritdoc}
    $0->addCacheTags(array $cache_tags)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:41
    public mergeCacheMaxAge($max_age) {@inheritdoc}
    $0->mergeCacheMaxAge($max_age)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:51
    public __wakeup() {@inheritdoc}
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
    public isNew() {@inheritdoc}
    $0->isNew()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:120
    public enforceIsNew($value = true) {@inheritdoc}
    $0->enforceIsNew($value = true)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:127
    public getEntityTypeId() {@inheritdoc}
    $0->getEntityTypeId()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:136
    public toUrl($rel = 'canonical', array $options = array()) {@inheritdoc}
    $0->toUrl($rel = 'canonical', array $options = array())
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:159
    public hasLinkTemplate($rel) {@inheritdoc}
    $0->hasLinkTemplate($rel)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:222
    public toLink($text = null, $rel = 'canonical', array $options = array()) {@inheritdoc}
    $0->toLink($text = null, $rel = 'canonical', array $options = array())
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:240
    public uriRelationships() {@inheritdoc}
    $0->uriRelationships()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:284
    public save() {@inheritdoc}
    $0->save()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:337
    public delete() {@inheritdoc}
    $0->delete()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:345
    public getEntityType() {@inheritdoc}
    $0->getEntityType()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:371
    public getCacheContexts() {@inheritdoc}
    $0->getCacheContexts()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:436
    public getCacheTagsToInvalidate() {@inheritdoc}
    $0->getCacheTagsToInvalidate()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:457
    public getCacheTags() {@inheritdoc}
    $0->getCacheTags()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:467
    public getCacheMaxAge() {@inheritdoc}
    $0->getCacheMaxAge()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:477
    public getOriginalId() {@inheritdoc}
    $0->getOriginalId()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:559
    public setOriginalId($id) {@inheritdoc}
    $0->setOriginalId($id)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:567
    public getTypedData() {@inheritdoc}
    $0->getTypedData()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:588
    public getConfigDependencyKey() {@inheritdoc}
    $0->getConfigDependencyKey()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:633
    public getConfigDependencyName() {@inheritdoc}
    $0->getConfigDependencyName()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:640
    public getConfigTarget() {@inheritdoc}
    $0->getConfigTarget()
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:647
    protected traitGetFieldsToSkipFromTranslationChangesCheck(Drupal\Core\Entity\ContentEntityInterface $entity): string[] Returns an array of field names to skip when checking for changes.
    /**
    * Returns an array of field names to skip when checking for changes.
    *
    * @param \Drupal\Core\Entity\ContentEntityInterface $entity
    *   A content entity object.
    *
    * @return string[]
    *   An array of field names.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php:21
    protected getLanguages() {@inheritdoc}
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:268
    protected clearTranslationCache() Clears entity translation object cache to remove stale references.
    /**
    * Clears entity translation object cache to remove stale references.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:507
    protected getTranslatedField($name, $langcode): \Drupal\Core\Field\FieldItemListInterface Gets a translated field.
    /**
    * Gets a translated field.
    *
    * @return \Drupal\Core\Field\FieldItemListInterface
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:574
    protected setDefaultLangcode() Populates the local cache for the default language code.
    /**
    * Populates the local cache for the default language code.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:734
    protected updateFieldLangcodes($langcode) Updates language for already instantiated fields.
    /**
    * Updates language for already instantiated fields.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:767
    protected initializeTranslation($langcode): \Drupal\Core\Entity\EntityInterface Instantiates a translation object for an existing translation.
    /**
    * Instantiates a translation object for an existing translation.
    *
    * The translated entity will be a clone of the current entity with the
    * specified $langcode. All translations share the same field data structures
    * to ensure that all of them deal with fresh data.
    *
    * @param string $langcode
    *   The language code for the requested translation.
    *
    * @return \Drupal\Core\Entity\EntityInterface
    *   The translation object. The content properties of the translation object
    *   are stored as references to the main entity.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:897
    protected getEntityKey($key): mixed Gets the value of the given entity key, if defined.
    /**
    * Gets the value of the given entity key, if defined.
    *
    * @param string $key
    *   Name of the entity key, for example id, revision or bundle.
    *
    * @return mixed
    *   The value of the entity key, NULL if not defined.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1296
    protected getFieldsToSkipFromTranslationChangesCheck(): array Returns an array of field names to skip in ::hasTranslationChanges.
    /**
    * Returns an array of field names to skip in ::hasTranslationChanges.
    *
    * @return array
    *   An array of field names.
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1398
    protected setCacheability(Drupal\Core\Cache\CacheableDependencyInterface $cacheability): $this Sets cacheability; useful for value object constructors.
    /**
    * Sets cacheability; useful for value object constructors.
    *
    * @param \Drupal\Core\Cache\CacheableDependencyInterface $cacheability
    *   The cacheability to set.
    *
    * @return $this
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php:39
    protected entityTypeManager(): \Drupal\Core\Entity\EntityTypeManagerInterface Gets the entity type manager.
    /**
    * Gets the entity type manager.
    *
    * @return \Drupal\Core\Entity\EntityTypeManagerInterface
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:72
    protected entityTypeBundleInfo(): \Drupal\Core\Entity\EntityTypeBundleInfoInterface Gets the entity type bundle info service.
    /**
    * Gets the entity type bundle info service.
    *
    * @return \Drupal\Core\Entity\EntityTypeBundleInfoInterface
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:81
    protected languageManager(): \Drupal\Core\Language\LanguageManagerInterface Gets the language manager.
    /**
    * Gets the language manager.
    *
    * @return \Drupal\Core\Language\LanguageManagerInterface
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:90
    protected uuidGenerator(): \Drupal\Component\Uuid\UuidInterface Gets the UUID generator.
    /**
    * Gets the UUID generator.
    *
    * @return \Drupal\Component\Uuid\UuidInterface
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:99
    protected linkTemplates(): array Gets an array link templates.
    /**
    * Gets an array link templates.
    *
    * @return array
    *   An array of link templates containing paths.
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:233
    protected urlRouteParameters($rel): array Gets an array of placeholders for this entity.
    /**
    * Gets an array of placeholders for this entity.
    *
    * Individual entity classes may override this method to add additional
    * placeholders if desired. If so, they should be sure to replicate the
    * property caching logic.
    *
    * @param string $rel
    *   The link relationship type, for example: canonical or edit-form.
    *
    * @return array
    *   An array of URI placeholders.
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:263
    protected getListCacheTagsToInvalidate(): string[] The list cache tags to invalidate for this entity.
    /**
    * The list cache tags to invalidate for this entity.
    *
    * @return string[]
    *   Set of list cache tags.
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:446
    protected invalidateTagsOnSave($update) Invalidates an entity's cache tags upon save.
    /**
    * Invalidates an entity's cache tags upon save.
    *
    * @param bool $update
    *   TRUE if the entity has been updated, or FALSE if it has been inserted.
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:517
    public static ownerBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type): \Drupal\Core\Field\BaseFieldDefinition[] Returns an array of base field definitions for entity owners.
    \Drupal\node\Entity\Node::ownerBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
    /**
    * Returns an array of base field definitions for entity owners.
    *
    * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
    *   The entity type to add the owner field to.
    *
    * @return \Drupal\Core\Field\BaseFieldDefinition[]
    *   An array of base field definitions.
    *
    * @throws \Drupal\Core\Entity\Exception\UnsupportedEntityTypeDefinitionException
    *   Thrown when the entity type does not implement EntityOwnerInterface or
    *   if it does not have an "owner" entity key.
    */
    
    Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:28
    public static getDefaultEntityOwner(): mixed Default value callback for 'owner' base field.
    \Drupal\node\Entity\Node::getDefaultEntityOwner()
    /**
    * Default value callback for 'owner' base field.
    *
    * @return mixed
    *   A default value for the owner field.
    */
    
    Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:86
    public static preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities) {@inheritdoc}
    \Drupal\node\Entity\Node::preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:162
    public static postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $nodes) {@inheritdoc}
    \Drupal\node\Entity\Node::postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $nodes)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:178
    public static baseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type) {@inheritdoc}
    \Drupal\node\Entity\Node::baseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
    /**
    * {@inheritdoc}
    */
    
    Defined in <ROOT>/core/modules/node/src/Entity/Node.php:261
    public static publishedBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type): \Drupal\Core\Field\BaseFieldDefinition[] Returns an array of base field definitions for publishing status.
    \Drupal\Core\Entity\EditorialContentEntityBase::publishedBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
    /**
    * Returns an array of base field definitions for publishing status.
    *
    * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
    *   The entity type to add the publishing status field to.
    *
    * @return \Drupal\Core\Field\BaseFieldDefinition[]
    *   An array of base field definitions.
    *
    * @throws \Drupal\Core\Entity\Exception\UnsupportedEntityTypeDefinitionException
    *   Thrown when the entity type does not implement EntityPublishedInterface
    *   or if it does not have a "published" entity key.
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:27
    public static revisionLogBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type): \Drupal\Core\Field\FieldDefinitionInterface[] Provides revision-related base field definitions for an entity type.
    \Drupal\Core\Entity\EditorialContentEntityBase::revisionLogBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
    /**
    * Provides revision-related base field definitions for an entity type.
    *
    * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
    *   The entity type definition.
    *
    * @return \Drupal\Core\Field\FieldDefinitionInterface[]
    *   An array of base field definitions for the entity type, keyed by field
    *   name.
    *
    * @see \Drupal\Core\Entity\FieldableEntityInterface::baseFieldDefinitions()
    */
    
    Inherited from Drupal\Core\Entity\EditorialContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:28
    public static create(array $values = array()) {@inheritdoc}
    \Drupal\Core\Entity\ContentEntityBase::create(array $values = array())
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1128
    public static bundleFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle, array $base_field_definitions) {@inheritdoc}
    \Drupal\Core\Entity\ContentEntityBase::bundleFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle, array $base_field_definitions)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1388
    public static preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values) {@inheritdoc}
    \Drupal\Core\Entity\EntityBase::preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:398
    public static postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities) {@inheritdoc}
    \Drupal\Core\Entity\EntityBase::postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:423
    public static load($id) {@inheritdoc}
    \Drupal\Core\Entity\EntityBase::load($id)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:484
    public static loadMultiple(?array $ids = null) {@inheritdoc}
    \Drupal\Core\Entity\EntityBase::loadMultiple(?array $ids = null)
    /**
    * {@inheritdoc}
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:494
    protected static invalidateTagsOnDelete(Drupal\Core\Entity\EntityTypeInterface $entity_type, array $entities) Invalidates an entity's cache tags upon delete.
    /**
    * Invalidates an entity's cache tags upon delete.
    *
    * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
    *   The entity type definition.
    * @param \Drupal\Core\Entity\EntityInterface[] $entities
    *   An array of entities.
    */
    
    Inherited from Drupal\Core\Entity\EntityBase
    Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:542
  • protected static $fieldsToSkipFromTranslationChangesCheck :: array (0)
    public const TRANSLATION_REMOVED :: integer 0
    \Drupal\node\Entity\Node::TRANSLATION_REMOVED
    public const TRANSLATION_EXISTING :: integer 1
    \Drupal\node\Entity\Node::TRANSLATION_EXISTING
    public const TRANSLATION_CREATED :: integer 2
    \Drupal\node\Entity\Node::TRANSLATION_CREATED
    public const NOT_PUBLISHED :: integer 0
    \Drupal\node\Entity\Node::NOT_PUBLISHED
    public const PUBLISHED :: integer 1
    \Drupal\node\Entity\Node::PUBLISHED
    public const NOT_PROMOTED :: integer 0
    \Drupal\node\Entity\Node::NOT_PROMOTED
    public const PROMOTED :: integer 1
    \Drupal\node\Entity\Node::PROMOTED
    public const NOT_STICKY :: integer 0
    \Drupal\node\Entity\Node::NOT_STICKY
    public const STICKY :: integer 1
    \Drupal\node\Entity\Node::STICKY
Called from <ROOT>/modules/contrib/devel/src/Controller/EntityDebugController.php:103 [Drupal\devel\DevelDumperManager->exportAsRenderable()]
  1. <ROOT>/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123 [call_user_func_array()]
  2. <ROOT>/core/lib/Drupal/Core/Render/Renderer.php:592 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()]
  3. <ROOT>/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:124 [Drupal\Core\Render\Renderer->executeInRenderContext()]
  4. <ROOT>/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:97 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()]
  5. .../symfony/http-kernel/HttpKernel.php:181 [Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()]
  6. .../symfony/http-kernel/HttpKernel.php:76 [Symfony\Component\HttpKernel\HttpKernel->handleRaw()]
  7. <ROOT>/core/lib/Drupal/Core/StackMiddleware/Session.php:58 [Symfony\Component\HttpKernel\HttpKernel->handle()]
  8. <ROOT>/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php:48 [Drupal\Core\StackMiddleware\Session->handle()]
  9. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:191 [Drupal\Core\StackMiddleware\KernelPreHandle->handle()]
  10. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:128 [Drupal\page_cache\StackMiddleware\PageCache->fetch()]
  11. <ROOT>/core/modules/page_cache/src/StackMiddleware/PageCache.php:82 [Drupal\page_cache\StackMiddleware\PageCache->lookup()]
  12. <ROOT>/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php:48 [Drupal\page_cache\StackMiddleware\PageCache->handle()]
  13. <ROOT>/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php:51 [Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()]
  14. <ROOT>/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php:51 [Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()]
  15. <ROOT>/core/lib/Drupal/Core/DrupalKernel.php:704 [Drupal\Core\StackMiddleware\StackedHttpKernel->handle()]
  16. <ROOT>/index.php:19 [Drupal\Core\DrupalKernel->handle()]