Search for items

  1. Search 7.x for items
  2. Search 9.5.x for items
  3. Search 8.9.x for items
  4. Search 10.3.x for items
  5. Other projects
Title Object type File name Summary
FieldItemListInterface::generateSampleItems function core/lib/Drupal/Core/Field/FieldItemListInterface.php Populates a specified number of field items with valid sample data.
FieldItemListTest::testEqualsEmptyItems function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::equals
FieldItemSerializationTest class core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Test field level normalization process.
FieldItemSerializationTest.php file core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php
FieldItemSerializationTest::$entity property core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php The test entity.
FieldItemSerializationTest::$entityClass property core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php The class name of the test class.
FieldItemSerializationTest::$modules property core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Modules to install.
FieldItemSerializationTest::$serializer property core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php The serializer service.
FieldItemSerializationTest::$values property core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php The test values.
FieldItemSerializationTest::providerTestCustomBooleanNormalization function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Data provider.
FieldItemSerializationTest::setUp function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php
FieldItemSerializationTest::testCustomBooleanNormalization function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Tests a format-agnostic normalizer.
FieldItemSerializationTest::testFieldDenormalizeWithScalarValue function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Tests denormalizing using a scalar field value.
FieldItemSerializationTest::testFieldNormalizeDenormalize function core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php Tests normalizing and denormalizing an entity with field item normalizer.
FieldNormalizer::normalizeFieldItems function core/modules/jsonapi/src/Normalizer/FieldNormalizer.php Helper function to normalize field items.
FieldTest::providerTestPrepareItemsByDelta function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php Provides test data for testPrepareItemsByDelta().
FieldTest::testPrepareItemsByDelta function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @covers ::prepareItemsByDelta
FieldTestEntityField::executePrepareItemsByDelta function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
FieldTranslationSynchronizer::synchronizeItems function core/modules/content_translation/src/FieldTranslationSynchronizer.php
FieldTranslationSynchronizerInterface::synchronizeItems function core/modules/content_translation/src/FieldTranslationSynchronizerInterface.php Synchronize the items of a single field.
FixtureManipulator::clearQueuedManipulationItems function core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php Clears all queued manipulation items.
FixtureManipulator::getQueuedManipulationItems function core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php Gets all queued manipulation items.
form-items.css file core/profiles/demo_umami/themes/umami/css/components/forms/form-items.css Generic CSS for form items.
HelpSearch::removeItemsFromIndex function core/modules/help/src/Plugin/Search/HelpSearch.php Removes an item or items from the search index.
ImageItemTest::testImageItemSampleValueGeneration function core/modules/image/tests/src/Kernel/ImageItemTest.php Tests generateSampleItems() method under different dimensions.
ItemsPerPageTest class core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php Tests that the views wizard can specify the number of items per page.
ItemsPerPageTest.php file core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php
ItemsPerPageTest::$defaultTheme property core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php The theme to install as the default for testing.
ItemsPerPageTest::setUp function core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php Sets up the test.
ItemsPerPageTest::testItemsPerPage function core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php Tests the number of items per page.
label-items.css file core/profiles/demo_umami/themes/umami/css/components/fields/label-items.css This file is used to style fields with class 'label-items' eg: Recipe
category.
LinkItemSerializationTest class core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests link field serialization.
LinkItemSerializationTest.php file core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
LinkItemSerializationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Modules to install.
LinkItemSerializationTest::$serializer property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php The serializer service.
LinkItemSerializationTest::setUp function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Set the default field storage backend for fields created during tests.
LinkItemSerializationTest::testLinkDeserialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the deserialization.
LinkItemSerializationTest::testLinkSerialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the serialization.
MediaBulkFormTest::$mediaItems property core/modules/media/tests/src/Functional/MediaBulkFormTest.php The test media items.
MediaLibraryTestBase::createMediaItems function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Create media items.
MediaLibraryWidget::addItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Updates the field state and flags the form for rebuild.
MediaLibraryWidget::getNewMediaItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets newly selected media items.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
Memory::numberOfItems function core/lib/Drupal/Core/Queue/Memory.php Retrieves the number of items in the queue.
MenuLinkTree::buildItems function core/lib/Drupal/Core/Menu/MenuLinkTree.php Builds the #items property for a menu tree's renderable array.
MenuRouterTest::doTestDescriptionMenuItems function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests menu item descriptions.
MenuUiTest::$items property core/modules/menu_ui/tests/src/Functional/MenuUiTest.php An array of test menu links.
MenuUiTest::testExpandAllItems function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests the "expand all items" feature.
ModerationStateFieldItemList::generateSampleItems function core/modules/content_moderation/src/Plugin/Field/ModerationStateFieldItemList.php Populates a specified number of field items with valid sample data.
MultiItemsFieldHandlerInterface interface core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php Defines a field handler which renders multiple items per row.

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