Search for Id

  1. Search 7.x for Id
  2. Search 8.9.x for Id
  3. Search 10.3.x for Id
  4. Search 11.x for Id
  5. Other projects
Title Object type File name Summary
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.
EntityReferenceItemNormalizer::getUuid function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Get the uuid from the data array.
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
EntityReferenceSupportedNewEntitiesConstraintValidator::$entityTypeManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::$workspaceManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The workspace manager.
EntityReferenceSupportedNewEntitiesConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Instantiates a new instance of this class.
EntityReferenceSupportedNewEntitiesConstraintValidator::validate function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php
EntityReferenceSupportedNewEntitiesConstraintValidator::__construct function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Creates a new EntityReferenceSupportedNewEntitiesConstraintValidator instance.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest class core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @coversDefaultClass \Drupal\workspaces\Plugin\Validation\Constraint\EntityReferenceSupportedNewEntitiesConstraintValidator
@group workspaces
EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php file core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$modules property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php Modules to enable.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::setUp function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php @covers ::validate
EntityReferenceWidgetTest class core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests the Media library entity reference widget.
EntityReferenceWidgetTest.php file core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
EntityReferenceWidgetTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php The theme to install as the default for testing.
EntityReferenceWidgetTest::$mediaItems property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Test media items.
EntityReferenceWidgetTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Modules to enable.
EntityReferenceWidgetTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
EntityReferenceWidgetTest::sortableUpdate function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Define to provide any necessary callback following layout change.
EntityReferenceWidgetTest::testAddAfterReordering function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that order is correct after re-order and adding another item.
EntityReferenceWidgetTest::testFocusNotAppliedWithoutSelectionChange function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that disabled media items don't capture focus on page load.
EntityReferenceWidgetTest::testRemoveAfterReordering function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that changed order is maintained after removing a selection.
EntityReferenceWidgetTest::testRequiredMediaField function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests saving a required media library field.
EntityReferenceWidgetTest::testWidget function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that the Media library's widget works as expected.
EntityReferenceWidgetTest::testWidgetPreview function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests the preview displayed by the field widget.
EntityRepository::loadEntityByUuid function core/lib/Drupal/Core/Entity/EntityRepository.php Loads an entity by UUID.
EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION constant core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
EntityRepositoryInterface::loadEntityByUuid function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Loads an entity by UUID.

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