Search for id

  1. Search 7.x for id
  2. Search 9.5.x for id
  3. Search 8.9.x for id
  4. Search 10.3.x for id
  5. Other projects
Title Object type File name Summary
EntityReference::validateRequired function core/modules/views/src/Plugin/views/filter/EntityReference.php Validates that a required field for a sub handler has a value.
EntityReference::WIDGET_AUTOCOMPLETE constant core/modules/views/src/Plugin/views/filter/EntityReference.php Type for the autocomplete filter format.
EntityReference::WIDGET_SELECT constant core/modules/views/src/Plugin/views/filter/EntityReference.php Type for the select list filter format.
EntityReference::WIDGET_SELECT_LIMIT constant core/modules/views/src/Plugin/views/filter/EntityReference.php Max number of entities in the select widget.
EntityReferenceAutocompleteTagsWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Plugin implementation of the 'entity_reference_autocomplete_tags' widget.
EntityReferenceAutocompleteTagsWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php
EntityReferenceAutocompleteTagsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Returns the form for a single field widget.
EntityReferenceAutocompleteTagsWidget::massageFormValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Massages the form values into the format expected for field values.
EntityReferenceAutocompleteWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Plugin implementation of the 'entity_reference_autocomplete' widget.
EntityReferenceAutocompleteWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
EntityReferenceAutocompleteWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Defines the default settings for this plugin.
EntityReferenceAutocompleteWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Assigns a field-level validation error to the right widget sub-element.
EntityReferenceAutocompleteWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the form for a single field widget.
EntityReferenceAutocompleteWidget::getAutocreateBundle function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the name of the bundle which will be used for autocreated entities.
EntityReferenceAutocompleteWidget::getMatchOperatorOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the options for the match operator.
EntityReferenceAutocompleteWidget::getSelectionHandlerSetting function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the value of a setting for the entity reference selection handler.
EntityReferenceAutocompleteWidget::massageFormValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Massages the form values into the format expected for field values.
EntityReferenceAutocompleteWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns a form to configure settings for the widget.
EntityReferenceAutocompleteWidget::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns a short summary for the current widget settings.
EntityReferenceAutocompleteWidgetTest class core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests the output of entity reference autocomplete widgets.
EntityReferenceAutocompleteWidgetTest.php file core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
EntityReferenceAutocompleteWidgetTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php The theme to install as the default for testing.
EntityReferenceAutocompleteWidgetTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Modules to install.
EntityReferenceAutocompleteWidgetTest::doAutocomplete function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Executes an autocomplete on a given field and waits for it to finish.
EntityReferenceAutocompleteWidgetTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the default autocomplete widget return the correct results.
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidgetAttachedEntity function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the autocomplete widget knows about the entity its attached to.
EntityReferenceFieldCreationTest::testAddReferenceFieldTargetingEntityTypeWithoutId function core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Tests that entity reference fields cannot target entity types without IDs.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmptyUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithId function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeAndUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithoutType function core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @covers ::denormalize
EntityReferenceFieldTest::testEntityReferenceFieldValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests reference field validation.
EntityReferenceFieldTest::testReferencedEntitiesStringId function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests referencing entities with string IDs.
EntityReferenceFileUploadTest::$nodeId property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php Node id.
EntityReferenceFormatterTest::testIdFormatter function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Tests the ID formatter.
EntityReferenceIdFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Plugin implementation of the 'entity reference ID' formatter.
EntityReferenceIdFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php
EntityReferenceIdFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Builds a renderable array for a field value.
EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php Tests the entity reference field with all its supported field widgets.
EntityReferenceItem::fieldSettingsFormValidate function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Form element validation handler; Invokes selection plugin's validation.
EntityReferenceItemTest::$entityStringId property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php The test entity with a string ID.
EntityReferenceItemTest::testAutocreateValidation function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests ValidReferenceConstraint with newly created and unsaved entities.
EntityReferenceItemTest::testContentEntityReferenceItemWithStringId function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests referencing content entities with string IDs.
EntityReferenceSelection::$id property core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php The plugin ID.
EntityReferenceSelectionReferenceableTest::providerTestCases function core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php Provides test cases for ::testReferenceablesWithNoLabelKey() test.
EntityReferenceSupportedNewEntitiesConstraintValidator class core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Checks if new entities created for entity reference fields are supported.
EntityReferenceSupportedNewEntitiesConstraintValidator.php file core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php

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