Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
FieldItemListInterface::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemListInterface.php Validates the submitted default value.
FieldItemListInterface::delete function core/lib/Drupal/Core/Field/FieldItemListInterface.php Defines custom delete behavior for field values.
FieldItemListInterface::deleteRevision function core/lib/Drupal/Core/Field/FieldItemListInterface.php Defines custom revision delete behavior for field values.
FieldItemListInterface::equals function core/lib/Drupal/Core/Field/FieldItemListInterface.php Determines equality to another object implementing FieldItemListInterface.
FieldItemListInterface::filterEmptyItems function core/lib/Drupal/Core/Field/FieldItemListInterface.php Filters out empty field items and re-numbers the item deltas.
FieldItemListInterface::generateSampleItems function core/lib/Drupal/Core/Field/FieldItemListInterface.php Populates a specified number of field items with valid sample data.
FieldItemListInterface::getEntity function core/lib/Drupal/Core/Field/FieldItemListInterface.php Gets the entity that field belongs to.
FieldItemListInterface::getFieldDefinition function core/lib/Drupal/Core/Field/FieldItemListInterface.php Gets the field definition.
FieldItemListInterface::getLangcode function core/lib/Drupal/Core/Field/FieldItemListInterface.php Gets the langcode of the field values held in the object.
FieldItemListInterface::getSetting function core/lib/Drupal/Core/Field/FieldItemListInterface.php Returns the value of a given field setting.
FieldItemListInterface::getSettings function core/lib/Drupal/Core/Field/FieldItemListInterface.php Returns the array of field settings.
FieldItemListInterface::hasAffectingChanges function core/lib/Drupal/Core/Field/FieldItemListInterface.php Determines whether the field has relevant changes.
FieldItemListInterface::postSave function core/lib/Drupal/Core/Field/FieldItemListInterface.php Defines custom post-save behavior for field values.
FieldItemListInterface::preSave function core/lib/Drupal/Core/Field/FieldItemListInterface.php Defines custom presave behavior for field values.
FieldItemListInterface::processDefaultValue function core/lib/Drupal/Core/Field/FieldItemListInterface.php Processes the default value before being applied.
FieldItemListInterface::setLangcode function core/lib/Drupal/Core/Field/FieldItemListInterface.php Sets the langcode of the field values held in the object.
FieldItemListInterface::view function core/lib/Drupal/Core/Field/FieldItemListInterface.php Returns a renderable array for the field items.
FieldItemListInterface::__get function core/lib/Drupal/Core/Field/FieldItemListInterface.php Magic method: Gets a property value of to the first field item.
FieldItemListInterface::__isset function core/lib/Drupal/Core/Field/FieldItemListInterface.php Magic method: Determines whether a property of the first field item is set.
FieldItemListInterface::__set function core/lib/Drupal/Core/Field/FieldItemListInterface.php Magic method: Sets a property value of the first field item.
FieldItemListInterface::__unset function core/lib/Drupal/Core/Field/FieldItemListInterface.php Magic method: Unsets a property of the first field item.
FieldItemListTest class core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @coversDefaultClass \Drupal\Core\Field\FieldItemList[[api-linebreak]]
@group Field
FieldItemListTest.php file core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
FieldItemListTest::providerTestEquals function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php Data provider for testEquals.
FieldItemListTest::testDefaultValuesForm function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesForm[[api-linebreak]]
FieldItemListTest::testDefaultValuesFormSubmit function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesFormSubmit[[api-linebreak]]
FieldItemListTest::testDefaultValuesFormValidate function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesFormValidate[[api-linebreak]]
FieldItemListTest::testEquals function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::equals[[api-linebreak]]
FieldItemListTest::testEqualsEmptyItems function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::equals[[api-linebreak]]
FieldItemListTest::testHasAffectingChanges function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php Tests identical behavior of ::hasAffectingChanges with ::equals.
FieldItemNormalizer class core/modules/hal/src/Normalizer/FieldItemNormalizer.php Converts the Drupal field item object structure to HAL array structure.
FieldItemNormalizer class core/modules/serialization/src/Normalizer/FieldItemNormalizer.php Denormalizes field item object structure by updating the entity field values.
FieldItemNormalizer class core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Converts the Drupal field item object to a JSON:API array structure.
FieldItemNormalizer.php file core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer.php file core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer.php file core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::$entityTypeManager property core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php The entity type manager.
FieldItemNormalizer::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php The interface or class that this Normalizer supports.
FieldItemNormalizer::$supportedInterfaceOrClass property core/modules/hal/src/Normalizer/FieldItemNormalizer.php The interface or class that this Normalizer supports.
FieldItemNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/FieldItemNormalizer.php The interface or class that this Normalizer supports.
FieldItemNormalizer::createTranslatedInstance function core/modules/hal/src/Normalizer/FieldItemNormalizer.php Get a translated version of the field item instance.
FieldItemNormalizer::denormalize function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::denormalize function core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::denormalize function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::getAlternatives function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Provides alternatives for a given array and key.
FieldItemNormalizer::getFieldItemInstance function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php Gets a field item instance for use with SerializedColumnNormalizerTrait.
FieldItemNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::hasCacheableSupportsMethod function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::normalize function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::normalize function core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php This normalizer leaves JSON:API normalizer land and enters the land of
Drupal core's serialization system. That system was never designed with
cacheability in mind, and hence bubbles cacheability out of band. This must
catch it, and pass it to…

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.