Skip to main content

Primary tabs

Twig context array(27)
'elements' => array(17)
'#node' => Drupal\node\Entity\Node(28)
  • contents
  • Available methods (148)
  • Static class properties (10)
  • Iterator contents (24)
  • public in_preview -> NULL
    protected values -> array(22)
    'nid' => array(1)
    'x-default' => string(1) "2"
    'vid' => array(1)
    'x-default' => string(2) "67"
    'type' => array(1)
    'x-default' => string(4) "page"
    'uuid' => array(1)
    'x-default' => string(36) "78cd81ed-cc66-48a2-849a-593e6de73ba6"
    'langcode' => array(1)
    'x-default' => string(2) "en"
    'revision_uid' => array(1)
    'x-default' => string(1) "1"
    'revision_timestamp' => array(1)
    'x-default' => string(10) "1490780854"
    • timestamp
    • 2017-03-29 09:47:34
    '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"
    'title' => array(1)
    'x-default' => string UTF-8(18) "Chi sa fa … meglio"
    'uid' => array(1)
    'x-default' => string(1) "1"
    'created' => array(1)
    'x-default' => string(10) "1490618116"
    • timestamp
    • 2017-03-27 12:35:16
    'changed' => array(1)
    'x-default' => string(10) "1490780854"
    • timestamp
    • 2017-03-29 09:47:34
    'promote' => array(1)
    'x-default' => string(1) "1"
    'sticky' => array(1)
    'x-default' => string(1) "0"
    'default_langcode' => array(1)
    'x-default' => string(1) "1"
    'revision_translation_affected' => array(1)
    'x-default' => NULL
    'content_translation_source' => array(1)
    'x-default' => NULL
    'content_translation_outdated' => array(1)
    'x-default' => NULL
    'body' => array(1)
    'x-default' => array(1)
    array(3)
    *DEPTH TOO GREAT*
    protected fields -> array(8)
    'body' => array(1)
    'x-default' => Drupal\Core\Field\FieldItemList(7)
    • contents
    • Available methods (69)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\field\Entity\FieldConfig(35)
      *DEPTH TOO GREAT*
      protected name -> string(4) "body"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:330
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:160
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:319
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:261
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:406
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    'title' => array(1)
    'x-default' => Drupal\Core\Field\FieldItemList(7)
    • contents
    • Available methods (69)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\Core\Field\BaseFieldDefinition(7)
      *DEPTH TOO GREAT*
      protected name -> string(5) "title"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:330
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:160
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:319
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:261
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:406
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    'uid' => array(1)
    'x-default' => Drupal\Core\Field\EntityReferenceFieldItemList(7)
    • contents
    • Available methods (70)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\Core\Field\BaseFieldDefinition(7)
      *DEPTH TOO GREAT*
      protected name -> string(3) "uid"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:62
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:160
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:106
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:16
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:406
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public referencedEntities()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:26
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    'created' => array(1)
    'x-default' => Drupal\Core\Field\FieldItemList(7)
    • contents
    • Available methods (69)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\Core\Field\BaseFieldDefinition(7)
      *DEPTH TOO GREAT*
      protected name -> string(7) "created"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:330
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:160
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:319
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:261
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:406
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    'changed' => array(1)
    'x-default' => Drupal\Core\Field\ChangedFieldItemList(7)
    • contents
    • Available methods (69)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\Core\Field\BaseFieldDefinition(7)
      *DEPTH TOO GREAT*
      protected name -> string(7) "changed"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:330
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/ChangedFieldItemList.php:16
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:319
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:261
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/ChangedFieldItemList.php:24
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    'type' => array(1)
    'x-default' => Drupal\Core\Field\EntityReferenceFieldItemList(7)
    • contents
    • Available methods (70)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\Core\Field\BaseFieldDefinition(7)
      *DEPTH TOO GREAT*
      protected name -> string(4) "type"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:62
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:160
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:106
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:16
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:406
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public referencedEntities()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php:26
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Inherited from Drupal\Core\Field\FieldItemList
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    'promote' => array(1)
    'x-default' => Drupal\Core\Field\FieldItemList(7)
    • contents
    • Available methods (69)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\Core\Field\Entity\BaseFieldOverride(35)
      *DEPTH TOO GREAT*
      protected name -> string(7) "promote"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:330
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:160
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:319
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:261
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:406
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    'sticky' => array(1)
    'x-default' => Drupal\Core\Field\FieldItemList(7)
    • contents
    • Available methods (69)
    • Iterator contents (1)
    • protected list -> array(1)
      *DEPTH TOO GREAT*
      protected langcode -> string(2) "en"
      protected definition -> Drupal\Core\Field\BaseFieldDefinition(7)
      *DEPTH TOO GREAT*
      protected name -> string(6) "sticky"
      protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
      *DEPTH TOO GREAT*
      protected stringTranslation -> NULL
      protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(23)
      *DEPTH TOO GREAT*
    • public static createInstance($definition, $name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:45
      public static processDefaultValue($default_value, Drupal\Core\Entity\FieldableEntityInterface $entity, Drupal\Core\Field\FieldDefinitionInterface $definition)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:330
      public __clone()
      Magic method: Implements a deep clone.
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:300
      public __construct(Drupal\Core\TypedData\DataDefinitionInterface $definition, $name = NULL, Drupal\Core\TypedData\TypedDataInterface $parent = NULL)
      Constructs a TypedData object given its definition and context.
      
      @param \Drupal\Core\TypedData\DataDefinitionInterface $definition
      The data definition.
      @param string $name
      (optional) The name of the created property, or NULL if it is the root
      of a typed data tree. Defaults to NULL.
      @param \Drupal\Core\TypedData\TypedDataInterface $parent
      (optional) The parent object of the data property, or NULL if it is the
      root of a typed data tree. Defaults to NULL.
      
      @see \Drupal\Core\TypedData\TypedDataManager::create()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:63
      public __get($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:113
      public __isset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:133
      public __set($property_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:123
      public __sleep()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:197
      public __unset($property_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:143
      public access($operation = view, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:152
      public appendItem($value = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:210
      public applyDefaultValue($notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:168
      public count()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:243
      public defaultAccess($operation = view, Drupal\Core\Session\AccountInterface $account = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:160
      public defaultValuesForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:282
      public defaultValuesFormSubmit(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:319
      public defaultValuesFormValidate(array $element, array &$form, Drupal\Core\Form\FormStateInterface $form_state)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:300
      public delete()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:205
      public deleteRevision()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:212
      public equals(Drupal\Core\Field\FieldItemListInterface $list_to_compare)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:369
      public filter($callback)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:268
      public filterEmptyItems()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:91
      public first()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:168
      public generateSampleItems($count = 1)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:249
      public get($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:96
      public getConstraints()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:261
      public getDataDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:86
      public getEntity()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:47
      public getFieldDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:70
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:229
      public getIterator()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:236
      public getLangcode()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:63
      public getName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:154
      public getParent()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:190
      public getPluginDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:79
      public getPluginId()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:72
      public getPropertyPath()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:172
      public getRoot()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:161
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:84
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:77
      public getString()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:84
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getValue()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:38
      public hasAffectingChanges(Drupal\Core\Field\FieldItemListInterface $original_items, $langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:406
      public isEmpty()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:250
      public offsetExists($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:175
      public offsetGet($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:190
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:197
      public offsetUnset($offset)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:183
      public onChange($delta)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:290
      public postSave($update)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:197
      public preSave()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:187
      public removeItem($index)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:135
      public set($index, $value)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:113
      public setContext($name = NULL, Drupal\Core\TypedData\TraversableTypedDataInterface $parent = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:146
      public setLangcode($langcode)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:56
      public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation) -> $this
      Sets the string translation service to use.
      
      @param \Drupal\Core\StringTranslation\TranslationInterface $translation
      The string translation service.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      Sets the typed data manager.
      
      @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
      The typed data manager.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public setValue($values, $notify = true)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:101
      public validate()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/TypedData/TypedData.php:130
      public view($display_options = array())
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:241
      protected createItem($offset = 0, $value = NULL)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:40
      protected defaultValueWidget(Drupal\Core\Form\FormStateInterface $form_state) -> \Drupal\Core\Field\WidgetInterface|null
      Returns the widget object used in default value form.
      
      @param \Drupal\Core\Form\FormStateInterface $form_state
      The form state of the (entire) configuration form.
      
      @return \Drupal\Core\Field\WidgetInterface|null
      A Widget object or NULL if no widget is available.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:343
      protected delegateMethod($method) -> array
      Calls a method on each FieldItem.
      
      Any argument passed will be forwarded to the invoked method.
      
      @param string $method
      The name of the method to be invoked.
      
      @return array
      An array of results keyed by delta.
      
      Defined in .../core/lib/Drupal/Core/Field/FieldItemList.php:227
      protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
      Formats a string containing a count of items.
      
      @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
      protected getNumberOfPlurals($langcode = NULL)
      Returns the number of plurals supported by a given language.
      
      @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
      protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
      Gets the string translation service.
      
      @return \Drupal\Core\StringTranslation\TranslationInterface
      The string translation service.
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
      protected rekey($from_index = 0)
      Renumbers the items in the list.
      
      @param int $from_index
      Optionally, the index at which to start the renumbering, if it is known
      that items before that can safely be skipped (for example, when removing
      an item at a given index).
      
      Inherited from Drupal\Core\TypedData\Plugin\DataType\ItemList
      Defined in .../core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php:155
      protected t($string, array $args = array(), array $options = array()) -> \Drupal\Core\StringTranslation\TranslatableMarkup
      Translates a string to the current language or to a given language.
      
      See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
      important security information and usage guidelines.
      
      In order for strings to be localized, make them available in one of the
      ways supported by the
      @link https://www.drupal.org/node/322729 Localization API @endlink. When
      possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
      $this->t(). Otherwise create a new
      \Drupal\Core\StringTranslation\TranslatableMarkup object.
      
      @param string $string
      A string containing the English text to translate.
      @param array $args
      (optional) An associative array of replacements to make after
      translation. Based on the first character of the key, the value is
      escaped and/or themed. See
      \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for
      details.
      @param array $options
      (optional) An associative array of additional options, with the following
      elements:
      - 'langcode' (defaults to the current language): A language code, to
      translate to a language other than what is used to display the page.
      - 'context' (defaults to the empty context): The context the source
      string belongs to. See the
      @link i18n Internationalization topic @endlink for more information
      about string contexts.
      
      @return \Drupal\Core\StringTranslation\TranslatableMarkup
      An object that, when cast to a string, returns the translated string.
      
      @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
      @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct()
      
      @ingroup sanitization
      
      Inherited from Drupal\Core\TypedData\TypedData
      Defined in .../core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
    • *DEPTH TOO GREAT*
    protected fieldDefinitions -> array(24)
    'nid' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(7) "integer"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(6)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'read-only' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(3) "nid"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'uuid' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(4) "uuid"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(6)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'read-only' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(4) "uuid"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'vid' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(7) "integer"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(6)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'read-only' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(3) "vid"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'langcode' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(8) "language"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(8)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'display' => array(2)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'translatable' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(8) "langcode"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'type' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(16) "entity_reference"
      protected propertyDefinitions -> array(2)
      'target_id' => Drupal\Core\TypedData\DataReferenceTargetDefinition(2)
      *DEPTH TOO GREAT*
      'entity' => Drupal\Core\TypedData\DataReferenceDefinition(3)
      *DEPTH TOO GREAT*
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(7)
      'label' => string(12) "Content type"
      'required' => boolTRUE
      'read-only' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(4) "type"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'revision_timestamp' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(7) "created"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(7)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(18) "revision_timestamp"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'revision_uid' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(16) "entity_reference"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(7)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(12) "revision_uid"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'revision_log' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(11) "string_long"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(9)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'default_value' => array(1)
      *DEPTH TOO GREAT*
      'display' => array(1)
      *DEPTH TOO GREAT*
      'provider' => string(4) "node"
      'field_name' => string(12) "revision_log"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'status' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(7) "boolean"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(9)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'translatable' => boolTRUE
      'default_value' => array(1)
      *DEPTH TOO GREAT*
      'display' => array(1)
      *DEPTH TOO GREAT*
      'provider' => string(4) "node"
      'field_name' => string(6) "status"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'title' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(6) "string"
      protected propertyDefinitions -> array(1)
      'value' => Drupal\Core\TypedData\DataDefinition(2)
      *DEPTH TOO GREAT*
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(9)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'required' => boolTRUE
      'translatable' => boolTRUE
      'revisionable' => boolTRUE
      'display' => array(2)
      *DEPTH TOO GREAT*
      'provider' => string(4) "node"
      'field_name' => string(5) "title"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'uid' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(16) "entity_reference"
      protected propertyDefinitions -> array(2)
      'target_id' => Drupal\Core\TypedData\DataReferenceTargetDefinition(2)
      *DEPTH TOO GREAT*
      'entity' => Drupal\Core\TypedData\DataReferenceDefinition(3)
      *DEPTH TOO GREAT*
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(10)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'default_value_callback' => string(41) "Drupal\node\Entity\Node::getCurrentUserId"
      'translatable' => boolTRUE
      'display' => array(2)
      *DEPTH TOO GREAT*
      'provider' => string(4) "node"
      'field_name' => string(3) "uid"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'created' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(7) "created"
      protected propertyDefinitions -> array(1)
      'value' => Drupal\Core\TypedData\DataDefinition(2)
      *DEPTH TOO GREAT*
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(9)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'translatable' => boolTRUE
      'display' => array(2)
      *DEPTH TOO GREAT*
      'provider' => string(4) "node"
      'field_name' => string(7) "created"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:756
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
      public isDeleted()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:810
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:445
      public isInternal()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:884
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:286
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:294
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:235
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:841
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:214
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      public setCardinality($cardinality) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:278
      public setClass($class) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
      public setComputed($computed) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
      public setConstraints(array $constraints) -> $this
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
      public setCustomStorage($custom_storage) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:772
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:483
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:503
      public setDeleted($deleted) -> $this
      Sets whether the field storage is deleted.
      
      @param bool $deleted
      Whether the field storage is deleted.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:822
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
      public setDisplayConfigurable($display_context, $configurable) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public setDisplayOptions($display_context, array $options) -> static
      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 'type' = '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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:408
      public setInitialValue($value) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:537
      public setInitialValueFromField($field_name, $default_value = NULL) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:578
      public setInternal($internal) -> $this
      Sets the whether the data value should be internal.
      
      @param bool $internal
      Whether the data value should be internal.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:104
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:123
      public setPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:334
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:206
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() instead.
      
      @see https://www.drupal.org/node/2856563
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:313
      public setReadOnly($read_only) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
      public setRequired($required) -> static
      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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:250
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:186
      public setSettings(array $settings)
      {@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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:167
      public setStorageRequired($required) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:859
      public setTargetBundle($bundle) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:700
      public setTargetEntityTypeId($entity_type_id) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:680
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:227
      public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
      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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected static normalizeValue(&$value, $main_property_name) -> array
      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 .../core/lib/Drupal/Core/Field/FieldInputValueNormalizerTrait.php:26
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Use
      \Drupal\Core\TypedData\ListDataDefinition::getClass() instead.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:643
    • constant CARDINALITY_UNLIMITED :: integer-1
    'changed' => Drupal\Core\Field\BaseFieldDefinition(7)
    • contents
    • Available methods (97)
    • Static class properties (1)
    • protected type -> string(7) "changed"
      protected propertyDefinitions -> array(1)
      'value' => Drupal\Core\TypedData\DataDefinition(2)
      *DEPTH TOO GREAT*
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(3)
      • contents
      • Available methods (41)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(7) *RECURSION*
        protected definition -> array(2)
        *DEPTH TOO GREAT*
        protected typedDataManager -> NULL
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:47
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:28
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:46
        public __sleep()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:355
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:190
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:53
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
        public getFieldDefinition()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:78
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:71
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:57
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:64
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:238
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:217
        public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
        Gets the typed data manager.
        
        @return \Drupal\Core\TypedData\TypedDataManagerInterface
        The typed data manager.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:148
        public isInternal()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:365
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:116
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:123
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:169
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:304
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:316
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:329
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
        public setClass($class) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:209
        public setComputed($computed) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:161
        public setConstraints(array $constraints) -> $this
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:285
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:66
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:108
        public setFieldDefinition($field_definition)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:85
        public setInternal($internal) -> $this
        Sets the whether the data value should be internal.
        
        @param bool $internal
        Whether the data value should be internal.
        
        @return $this
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:381
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:87
        public setReadOnly($read_only) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:140
        public setRequired($required) -> static
        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 .../core/lib/Drupal/Core/TypedData/DataDefinition.php:182
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:253
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:230
        public setTypedDataManager(Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager) -> $this
        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 .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:25
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:348
      protected definition -> array(8)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      *DEPTH TOO GREAT*
      'revisionable' => boolTRUE
      'translatable' => boolTRUE
      'provider' => string(4) "node"
      'field_name' => string(7) "changed"
      'entity_type' => string(4) "node"
      'bundle' => NULL
      protected typedDataManager -> NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:57
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:101
      public __clone()
      Magic method: Implements a deep clone.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:867
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:658
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:293
      public addPropertyConstraints($name, array $constraints) -> static
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:373
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:258
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:735
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:830
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:270
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:261
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:466
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:459
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:452
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:95
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:438
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:783
      public getInitialValue() -> array
      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 .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:518
      public getInitialValueFromField() -> string|null
      Returns the name of the field that will be used for getting initial values.
      
      @return string|null
      The field name.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:92
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:74
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:632
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:110
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:587
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:602
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:614
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:625
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:194
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:708
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:179
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:138
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:688
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:668
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:131
      public getTypedDataManager() -> \Drupal\Core\TypedData\TypedDataManagerInterface
      Gets the typed data manager.
      
      @return \Drupal\Core\TypedData\TypedDataManagerInterface
      The typed data manager.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/TypedDataTrait.php:36
      public getUniqueIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:797
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:790
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:749