Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityReferenceItem::getConstraints | function | core/ |
Gets a list of validation constraints. |
| EntityReferenceItem::getPossibleOptions | function | core/ |
Returns an array of possible values with labels for display. |
| EntityReferenceItem::getPossibleValues | function | core/ |
Returns an array of possible values. |
| EntityReferenceItem::getPreconfiguredOptions | function | core/ |
Returns preconfigured field options for a field type. |
| EntityReferenceItem::getRandomBundle | function | core/ |
Gets a bundle for a given entity type and selection options. |
| EntityReferenceItem::getSettableOptions | function | core/ |
Returns an array of settable values with labels for display. |
| EntityReferenceItem::getSettableValues | function | core/ |
Returns an array of settable values. |
| EntityReferenceItem::getValue | function | core/ |
Gets the data value. |
| EntityReferenceItem::hasNewEntity | function | core/ |
Determines whether the item holds an unsaved entity. |
| EntityReferenceItem::isEmpty | function | core/ |
Determines whether the data structure is empty. |
| EntityReferenceItem::mainPropertyName | function | core/ |
Returns the name of the main property, if any. |
| EntityReferenceItem::onChange | function | core/ |
React to changes to a child property or item. |
| EntityReferenceItem::onDependencyRemoval | function | core/ |
Informs the plugin that a dependency of the field will be deleted. |
| EntityReferenceItem::preSave | function | core/ |
Defines custom presave behavior for field values. |
| EntityReferenceItem::propertyDefinitions | function | core/ |
Defines field item properties. |
| EntityReferenceItem::schema | function | core/ |
Returns the schema for the field. |
| EntityReferenceItem::settingsAjax | function | core/ |
Ajax callback for the handler settings form. |
| EntityReferenceItem::settingsAjaxSubmit | function | core/ |
Submit handler for the non-JS case. |
| EntityReferenceItem::setValue | function | core/ |
Overrides \Drupal\Core\TypedData\TypedData::setValue(). |
| EntityReferenceItem::storageSettingsForm | function | core/ |
Returns a form for the storage-level settings. |
| EntityReferenceItemNormalizer | class | core/ |
Converts the Drupal entity reference item object to HAL array structure. |
| EntityReferenceItemNormalizer.php | file | core/ |
|
| EntityReferenceItemNormalizer::$entityResolver | property | core/ |
The entity resolver. |
| EntityReferenceItemNormalizer::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityReferenceItemNormalizer::$linkManager | property | core/ |
The hypermedia link manager. |
| EntityReferenceItemNormalizer::$supportedInterfaceOrClass | property | core/ |
The interface or class that this Normalizer supports. |
| EntityReferenceItemNormalizer::constructValue | function | core/ |
Build the field item value using the incoming data. |
| EntityReferenceItemNormalizer::getUuid | function | core/ |
Get the uuid from the data array. |
| EntityReferenceItemNormalizer::normalize | function | core/ |
|
| EntityReferenceItemNormalizer::normalizedFieldValues | function | core/ |
Normalizes field values for an item. |
| EntityReferenceItemNormalizer::targetEntityIsFieldable | function | core/ |
Checks whether the referenced entity is of a fieldable entity type. |
| EntityReferenceItemNormalizer::__construct | function | core/ |
Constructs an EntityReferenceItemNormalizer object. |
| EntityReferenceItemTest | class | core/ |
Tests the new entity API for the entity reference field type. |
| EntityReferenceItemTest.php | file | core/ |
|
| EntityReferenceItemTest::$entityStringId | property | core/ |
The test entity with a string ID. |
| EntityReferenceItemTest::$modules | property | core/ |
Modules to install. |
| EntityReferenceItemTest::$term | property | core/ |
The taxonomy term to test with. |
| EntityReferenceItemTest::$vocabulary | property | core/ |
The taxonomy vocabulary to test with. |
| EntityReferenceItemTest::setUp | function | core/ |
Sets up the test. |
| EntityReferenceItemTest::testAutocreateValidation | function | core/ |
Tests ValidReferenceConstraint with newly created and unsaved entities. |
| EntityReferenceItemTest::testConfigEntityReferenceItem | function | core/ |
Tests the entity reference field type for referencing config entities. |
| EntityReferenceItemTest::testContentEntityReferenceItem | function | core/ |
Tests the entity reference field type for referencing content entities. |
| EntityReferenceItemTest::testContentEntityReferenceItemWithStringId | function | core/ |
Tests referencing content entities with string IDs. |
| EntityReferenceItemTest::testEntityAutoCreate | function | core/ |
Tests entity auto create. |
| EntityReferenceItemTest::testEntitySaveOrder | function | core/ |
Test saving order sequence doesn't matter. |
| EntityReferenceItemTest::testGenerateSampleValue | function | core/ |
Tests the ::generateSampleValue() method. |
| EntityReferenceItemTest::testGenerateSampleValueCircularReference | function | core/ |
Tests the ::generateSampleValue() method when it has a circular reference. |
| EntityReferenceItemTest::testSelectionHandlerSettings | function | core/ |
Tests that the 'handler' field setting stores the proper plugin ID. |
| EntityReferenceLabelFormatter | class | core/ |
Plugin implementation of the 'entity reference label' formatter. |
| EntityReferenceLabelFormatter.php | file | core/ |
Pagination
- Previous page
- Page 493
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.