Search for entity

  1. Search 7.x for entity
  2. Search 9.5.x for entity
  3. Search 10.3.x for entity
  4. Search 11.x for entity
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Entity class core/lib/Drupal/Core/Entity/Entity.php Defines a base entity class.
Entity class core/modules/views/src/Plugin/views/argument_validator/Entity.php Defines a argument validator plugin for each entity type.
Entity class core/modules/views/src/Plugin/views/area/Entity.php Provides an area handler which renders an entity in a certain view mode.
Entity class core/modules/migrate/src/Plugin/migrate/destination/Entity.php Provides a generic destination to import entities.
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php This class is a near-copy of tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.

All search results

Title Object type File name Summary
EntityReferenceItem::fieldSettingsFormValidate function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Form element validation handler; Invokes selection plugin&#039;s validation.
EntityReferenceItem::formProcessMergeParent function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Render API callback: Moves entity_reference specific Form API elements
(i.e. &#039;handler_settings&#039;) up a level for easier processing by the
validation and submission handlers.
EntityReferenceItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Generates placeholder field values.
EntityReferenceItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Gets a list of validation constraints.
EntityReferenceItem::getPossibleOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of possible values with labels for display.
EntityReferenceItem::getPossibleValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of possible values.
EntityReferenceItem::getPreconfiguredOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns preconfigured field options for a field type.
EntityReferenceItem::getRandomBundle function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Gets a bundle for a given entity type and selection options.
EntityReferenceItem::getSettableOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of settable values with labels for display.
EntityReferenceItem::getSettableValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of settable values.
EntityReferenceItem::getValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Gets the data value.
EntityReferenceItem::hasNewEntity function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Determines whether the item holds an unsaved entity.
EntityReferenceItem::isEmpty function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Determines whether the data structure is empty.
EntityReferenceItem::mainPropertyName function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns the name of the main property, if any.
EntityReferenceItem::onChange function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php React to changes to a child property or item.
EntityReferenceItem::onDependencyRemoval function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Informs the plugin that a dependency of the field will be deleted.
EntityReferenceItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines custom presave behavior for field values.
EntityReferenceItem::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines field item properties.
EntityReferenceItem::schema function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns the schema for the field.
EntityReferenceItem::settingsAjax function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Ajax callback for the handler settings form.
EntityReferenceItem::settingsAjaxSubmit function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Submit handler for the non-JS case.
EntityReferenceItem::setValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
EntityReferenceItem::storageSettingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns a form for the storage-level settings.
EntityReferenceItemNormalizer class core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Converts the Drupal entity reference item object to HAL array structure.
EntityReferenceItemNormalizer.php file core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php
EntityReferenceItemNormalizer::$entityResolver property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The entity resolver.
EntityReferenceItemNormalizer::$entityTypeManager property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The entity type manager.
EntityReferenceItemNormalizer::$linkManager property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The hypermedia link manager.
EntityReferenceItemNormalizer::$supportedInterfaceOrClass property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The interface or class that this Normalizer supports.
EntityReferenceItemNormalizer::constructValue function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Build the field item value using the incoming data.
EntityReferenceItemNormalizer::getUuid function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Get the uuid from the data array.
EntityReferenceItemNormalizer::normalize function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php
EntityReferenceItemNormalizer::normalizedFieldValues function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Normalizes field values for an item.
EntityReferenceItemNormalizer::targetEntityIsFieldable function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Checks whether the referenced entity is of a fieldable entity type.
EntityReferenceItemNormalizer::__construct function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php Constructs an EntityReferenceItemNormalizer object.
EntityReferenceItemTest class core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests the new entity API for the entity reference field type.
EntityReferenceItemTest.php file core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
EntityReferenceItemTest::$entityStringId property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php The test entity with a string ID.
EntityReferenceItemTest::$modules property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Modules to install.
EntityReferenceItemTest::$term property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php The taxonomy term to test with.
EntityReferenceItemTest::$vocabulary property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php The taxonomy vocabulary to test with.
EntityReferenceItemTest::setUp function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Sets up the test.
EntityReferenceItemTest::testAutocreateValidation function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests ValidReferenceConstraint with newly created and unsaved entities.
EntityReferenceItemTest::testConfigEntityReferenceItem function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests the entity reference field type for referencing config entities.
EntityReferenceItemTest::testContentEntityReferenceItem function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests the entity reference field type for referencing content entities.
EntityReferenceItemTest::testContentEntityReferenceItemWithStringId function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests referencing content entities with string IDs.
EntityReferenceItemTest::testEntityAutoCreate function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests entity auto create.
EntityReferenceItemTest::testEntitySaveOrder function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Test saving order sequence doesn&#039;t matter.
EntityReferenceItemTest::testGenerateSampleValue function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests the ::generateSampleValue() method.
EntityReferenceItemTest::testGenerateSampleValueCircularReference function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests the ::generateSampleValue() method when it has a circular reference.

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