Search for setOwner

  1. Search 7.x for setOwner
  2. Search 9.5.x for setOwner
  3. Search 8.9.x for setOwner
  4. Search 11.x for setOwner
  5. Other projects
Title Object type File name Summary
EntityOwnerInterface::setOwner function core/modules/user/src/EntityOwnerInterface.php Sets the entity owner's user entity.
EntityOwnerInterface::setOwnerId function core/modules/user/src/EntityOwnerInterface.php Sets the entity owner's user ID.
EntityOwnerTrait::setOwner function core/modules/user/src/EntityOwnerTrait.php
EntityOwnerTrait::setOwnerId function core/modules/user/src/EntityOwnerTrait.php
EntityTest::setOwner function core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php Sets the entity owner's user entity.
EntityTest::setOwnerId function core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php Sets the entity owner's user ID.

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