Search for field_

  1. Search 7.x for field_
  2. Search 9.5.x for field_
  3. Search 10.3.x for field_
  4. Search 11.x for field_
  5. Other projects
Title Object type File name Summary
FieldItemList::__set function core/lib/Drupal/Core/Field/FieldItemList.php Magic method: Sets a property value of the first field item.
FieldItemList::__unset function core/lib/Drupal/Core/Field/FieldItemList.php Magic method: Unsets a property of the first field item.
FieldItemListInterface interface core/lib/Drupal/Core/Field/FieldItemListInterface.php Interface for fields, being lists of field items.
FieldItemListInterface.php file core/lib/Drupal/Core/Field/FieldItemListInterface.php
FieldItemListInterface::defaultAccess function core/lib/Drupal/Core/Field/FieldItemListInterface.php Contains the default access logic of this field.
FieldItemListInterface::defaultValuesForm function core/lib/Drupal/Core/Field/FieldItemListInterface.php Returns a form for the default value input.
FieldItemListInterface::defaultValuesFormSubmit function core/lib/Drupal/Core/Field/FieldItemListInterface.php Processes the submitted default value.
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/jsonapi/src/Normalizer/FieldItemNormalizer.php Converts the Drupal field item object to a JSON:API array structure.
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.php file core/modules/serialization/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer.php file core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer.php file core/modules/jsonapi/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

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