Search for entities

  1. Search 7.x for entities
  2. Search 9.5.x for entities
  3. Search 8.9.x for entities
  4. Search 10.3.x for entities
  5. Other projects
Title Object type File name Summary
HtmlTest::testDecodeEntities function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests Html::decodeEntities().
HtmlTest::testDecodeEntitiesAndEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests relationship between escaping and decoding HTML entities.
ImageFormatterBase::getEntitiesToView function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php Returns the referenced entities for display.
InternalEntitiesTest class core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Makes assertions about the JSON:API behavior for internal entities.
InternalEntitiesTest.php file core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php
InternalEntitiesTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php The theme to install as the default for testing.
InternalEntitiesTest::$internalEntity property core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php An entity of an internal entity type.
InternalEntitiesTest::$modules property core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Modules to install.
InternalEntitiesTest::$referencingEntity property core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php An entity referencing an internal entity.
InternalEntitiesTest::$testUser property core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php A test user.
InternalEntitiesTest::getIndividual function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Returns the decoded JSON:API document for the for the given entity.
InternalEntitiesTest::getRelated function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Performs an authenticated request and returns the decoded document.
InternalEntitiesTest::jsonapiGet function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Performs an authenticated request and returns the decoded document.
InternalEntitiesTest::setUp function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php
InternalEntitiesTest::testEntryPoint function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Ensures that internal resources types aren't present in the entry point.
InternalEntitiesTest::testIncludes function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Asserts that internal entities are not included in compound documents.
InternalEntitiesTest::testLinks function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Asserts that links to internal relationships aren't generated.
InternalEntitiesTest::testRoutes function core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php Ensures that internal resources types aren't present in the routes.
JsonApiFilterRegressionTest::testFilteringEntitiesByEntityReferenceTargetId function core/modules/jsonapi/tests/src/Functional/JsonApiFilterRegressionTest.php Tests that collections can be filtered by an entity reference target_id.
LanguageListBuilder::$entitiesKey property core/modules/language/src/LanguageListBuilder.php The key to use for the form element containing the entities.
LayoutBuilderTranslationTest::setUpEntities function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTranslationTest.php Setup translated entity with layouts.
MediaSelection::validateReferenceableNewEntities function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Validates which newly created entities can be referenced.
ModerationInformation::canModerateEntitiesOfEntityType function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity type can have moderated entities.
ModerationInformation::shouldModerateEntitiesOfBundle function core/modules/content_moderation/src/ModerationInformation.php Determines if an entity type/bundle entities should be moderated.
ModerationInformationInterface::canModerateEntitiesOfEntityType function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity type can have moderated entities.
ModerationInformationInterface::shouldModerateEntitiesOfBundle function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if an entity type/bundle entities should be moderated.
ModerationInformationTest::testShouldModerateEntities function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Tests should moderate entities.
ModuleInstallBatchTest::testLoadingEntitiesCreatedInBatch function core/tests/Drupal/FunctionalTests/Core/Test/ModuleInstallBatchTest.php Tests loading entities created in a batch in test_batch_test_install().
NodeSelection::validateReferenceableNewEntities function core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php Validates which newly created entities can be referenced.
PhpSelection::countReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php Counts entities that are referenceable.
PhpSelection::getReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php Gets the list of referenceable entities.
PrepareModulesEntityUninstallForm::deleteContentEntities function core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php Deletes the content entities of the specified entity type.
QueryGroupByTest::setupTestEntities function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Helper method that creates some test entities.
QueryPluginBase::loadEntities function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Loads all entities contained in the passed-in $results.
ResultRow::$_relationship_entities property core/modules/views/src/ResultRow.php An array of relationship entities.
SearchPageListBuilder::$entities property core/modules/search/src/SearchPageListBuilder.php The entities being listed.
SelectionInterface::countReferenceableEntities function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php Counts entities that are referenceable.
SelectionInterface::getReferenceableEntities function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php Gets the list of referenceable entities.
SelectionInterface::validateReferenceableEntities function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php Validates which existing entities can be referenced.
SelectionWithAutocreateInterface::validateReferenceableNewEntities function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionWithAutocreateInterface.php Validates which newly created entities can be referenced.
Sql::assignEntitiesToResult function core/modules/views/src/Plugin/views/query/Sql.php Sets entities onto the view result row objects.
Sql::getAllEntities function core/modules/views/src/Plugin/views/query/Sql.php Gets all the involved entities of the view.
Sql::loadEntities function core/modules/views/src/Plugin/views/query/Sql.php Loads all entities contained in the passed-in $results.
SqlTest::testLoadEntitiesWithEmptyResult function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with empty result.
SqlTest::testLoadEntitiesWithNonEntityRelationship function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with non entity relationship.
SqlTest::testLoadEntitiesWithNoRelationshipAndNoRevision function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with no relationship and no revision.
SqlTest::testLoadEntitiesWithRelationship function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with relationship.
SqlTest::testLoadEntitiesWithRelationshipAndRevision function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with relationship and revision.
SqlTest::testLoadEntitiesWithRevision function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with revision.
SqlTest::testLoadEntitiesWithRevisionOfSameEntityType function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with revision of same entity type.

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