Search for setEntity

  1. Search 7.x for setEntity
  2. Search 9.5.x for setEntity
  3. Search 10.3.x for setEntity
  4. Search 11.x for setEntity
  5. Other projects
Title Object type File name Summary
ConfigEntityMapper::setEntity function core/modules/config_translation/src/ConfigEntityMapper.php Sets the entity instance for this mapper.
ConfigFieldMapper::setEntity function core/modules/config_translation/src/ConfigFieldMapper.php Sets the entity instance for this mapper.
ConfigFieldMapperTest::testSetEntity function core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php Tests ConfigFieldMapper::setEntity().
EntityDataDefinition::setEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Sets the entity type ID.
EntityDataDefinitionInterface::setEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Sets the entity type ID.
EntityDefinitionTestTrait::resetEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Resets the entity type definition.
EntityDefinitionTestTrait::resetEntityType function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Resets the entity type definition.
EntityForm::setEntity function core/lib/Drupal/Core/Entity/EntityForm.php Sets the form entity.
EntityForm::setEntityManager function core/lib/Drupal/Core/Entity/EntityForm.php Sets the entity manager for this form.
EntityForm::setEntityTypeManager function core/lib/Drupal/Core/Entity/EntityForm.php Sets the entity type manager for this form.
EntityFormInterface::setEntity function core/lib/Drupal/Core/Entity/EntityFormInterface.php Sets the form entity.
EntityFormInterface::setEntityManager function core/lib/Drupal/Core/Entity/EntityFormInterface.php Sets the entity manager for this form.
EntityFormInterface::setEntityTypeManager function core/lib/Drupal/Core/Entity/EntityFormInterface.php Sets the entity type manager for this form.
EntityFormTest::testSetEntityManager function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests that setEntityManager triggers proper deprecation errors.
EntityRevisionTestDestination::setEntity function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php
EntityTestDestination::setEntity function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
LabelOnlyResourceObject::setEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Sets the underlying entity.
NodeTypeMapper::setEntity function core/modules/node/src/ConfigTranslation/NodeTypeMapper.php Sets the entity instance for this mapper.
ResultRow::resetEntityData function core/modules/views/src/ResultRow.php Resets the _entity and _relationship_entities properties.
SqlContentEntityStorage::setEntityType function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Updates the wrapped entity type definition.
TestEntityForm::setEntity function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
TestEntityForm::setEntityManager function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
TestEntityForm::setEntityTypeManager function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
TestEntityViewsData::setEntityType function core/modules/views/tests/src/Unit/EntityViewsDataTest.php

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