Search for owner

  1. Search 7.x for owner
  2. Search 9.5.x for owner
  3. Search 10.3.x for owner
  4. Search 11.x for owner
  5. Other projects
Title Object type File name Summary
NodeOwnerTest::testGetCurrentUserId function core/modules/node/tests/src/Kernel/NodeOwnerTest.php Tests the legacy method used as the default entity owner.
NodeOwnerTest::testOwner function core/modules/node/tests/src/Kernel/NodeOwnerTest.php Tests node owner functionality.
NodeOwnerTest::testUnsavedNodeOwner function core/modules/node/tests/src/Kernel/NodeOwnerTest.php Test an unsaved node owner.
NodeUpdateTest::testOwnerEntityKey function core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php Tests that the node entity type has an 'owner' entity key.
PrivateTempStore::getOwner function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Gets the current owner based on the current user or the session ID.
PrivateTempStoreTest::testGetMetadataOwner function core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php @covers ::getMetadata
@expectedDeprecation Using the "owner" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getOwnerId() instead. See…
SharedTempStore::$owner property core/lib/Drupal/Core/TempStore/SharedTempStore.php The owner key to store along with the data (e.g. a user or session ID).
SharedTempStore::deleteIfOwner function core/lib/Drupal/Core/TempStore/SharedTempStore.php Deletes data from the store for a given key and releases the lock on it.
SharedTempStore::getIfOwner function core/lib/Drupal/Core/TempStore/SharedTempStore.php Retrieves a value from this SharedTempStore for a given key.
SharedTempStore::setIfOwner function core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores a particular key/value pair in this SharedTempStore.
SharedTempStoreTest::$owner property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php The owner used in this test.
SharedTempStoreTest::$owner property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The owner used in this test.
SharedTempStoreTest::testDeleteIfOwner function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the deleteIfOwner() method.
SharedTempStoreTest::testDeleteIfOwner function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the deleteIfOwner() method.
SharedTempStoreTest::testGetIfOwner function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the getIfOwner() method.
SharedTempStoreTest::testGetIfOwner function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the getIfOwner() method.
SharedTempStoreTest::testGetMetadataOwner function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @covers ::getMetadata
@expectedDeprecation Using the "owner" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getOwnerId() instead. See…
SharedTempStoreTest::testSetIfOwner function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the setIfOwner() method with matching and non matching owners.
SharedTempStoreTest::testSetIfOwner function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the setIfOwner() method with matching and non matching owners.
SharedTempStoreTest::testSetIfOwnerNoObject function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the setIfOwner() method when a key already exists but no object.
SharedTempStoreTest::testSetIfOwnerNoObject function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the setIfOwner() method when a key already exists but no object.
SharedTempStoreTest::testSetIfOwnerWhenNotExists function core/modules/user/tests/src/Unit/SharedTempStoreTest.php Tests the setIfOwner() method when no key exists.
SharedTempStoreTest::testSetIfOwnerWhenNotExists function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the setIfOwner() method when no key exists.
UserAccessControlHandlerTest::$owner property core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php The mock user account that is able to change their own account name.
UserTest::testGetMailFieldOnlyVisibleToOwner function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests GETting privacy-sensitive base fields.
WorkspaceTest::testWorkspaceOwner function core/modules/workspaces/tests/src/Functional/WorkspaceTest.php Test changing the owner of a workspace.

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