Search for __get

  1. Search 7.x for __get
  2. Search 9.5.x for __get
  3. Search 8.9.x for __get
  4. Search 10.3.x for __get
  5. Other projects
Title Object type File name Summary
EntityReference::getReferencedEntityType function core/modules/views/src/Plugin/views/filter/EntityReference.php Gets the target entity type referenced by this field.
EntityReference::getSelectionHandler function core/modules/views/src/Plugin/views/filter/EntityReference.php Gets the entity reference selection handler.
EntityReference::getString function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Returns a string representation of the data.
EntityReference::getSubHandlerOptions function core/modules/views/src/Plugin/views/filter/EntityReference.php Get all selection plugins for this entity type.
EntityReference::getTarget function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Gets the referenced data.
EntityReference::getTargetDefinition function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Gets the definition of the referenced entity.
EntityReference::getTargetIdentifier function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Gets the identifier of the referenced data.
EntityReference::getType function core/modules/views/src/Plugin/views/display/EntityReference.php Returns the display type that this display requires.
EntityReference::getValueOptionsCallback function core/modules/views/src/Plugin/views/filter/EntityReference.php Returns the value options for a select widget.
EntityReference::isTargetNew function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Checks whether the target entity has not been saved yet.
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.
EntityReferenceAdminTest::$targetType property core/modules/field/tests/src/FunctionalJavascript/EntityReference/EntityReferenceAdminTest.php Name of a second content type to be used as a target of entity references.
EntityReferenceAdminTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php Tests field settings for an entity reference field.
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.
EntityReferenceAutoCreateTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests multiple target bundles.
EntityReferenceFieldCreationTest::testAddReferenceFieldTargetingEntityTypeWithoutId function core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Tests that entity reference fields cannot target entity types without IDs.
EntityReferenceFieldItemList::getConstraints function core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php Gets a list of validation constraints.
EntityReferenceFieldItemNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/EntityReferenceFieldItemNormalizer.php
EntityReferenceFieldNormalizer::getRelationshipLinks function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Gets the links for the relationship.
EntityReferenceFieldNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php
EntityReferenceFieldTest::testTargetEntityNoLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests that the target entity is not unnecessarily loaded.
EntityReferenceFieldTest::testTargetEntityTypeMissing function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests exception thrown with a missing target entity type.
EntityReferenceFormatterBase::getEntitiesToView function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Returns the referenced entities for display.
EntityReferenceIntegrationTest::getTestEntities function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php Creates two content and two config test entities.
EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php Tests the entity reference field with all its supported field widgets.
EntityReferenceItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Gets a list of validation constraints.

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