Search for field_

  1. Search 7.x for field_
  2. Search 8.9.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
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/hal/src/Normalizer/FieldItemNormalizer.php Converts the Drupal field item object structure to HAL array structure.
FieldItemNormalizer.php file core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::$supportedInterfaceOrClass property core/modules/hal/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::hasCacheableSupportsMethod function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::normalize function core/modules/hal/src/Normalizer/FieldItemNormalizer.php
FieldItemNormalizer::normalizedFieldValues function core/modules/hal/src/Normalizer/FieldItemNormalizer.php Normalizes field values for an item.
FieldItemSerializationTest class core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php Test field level normalization process.
FieldItemSerializationTest.php file core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php
FieldItemSerializationTest::$entity property core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php The test entity.
FieldItemSerializationTest::$entityClass property core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php The class name of the test class.
FieldItemSerializationTest::$modules property core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php Modules to enable.
FieldItemSerializationTest::$serializer property core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php The serializer service.
FieldItemSerializationTest::$values property core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php The test values.

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