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
AccessTest::testOnlyOwnerCanDeleteUpdateFile function core/modules/file/tests/src/Kernel/AccessTest.php Tests that only the file owner can delete or update a file.
ActiveTheme::$owner property core/lib/Drupal/Core/Theme/ActiveTheme.php The path to the theme engine for root themes.
ActiveTheme::getOwner function core/lib/Drupal/Core/Theme/ActiveTheme.php Returns the path to the theme engine for root themes.
AssignOwnerNode class core/modules/node/src/Plugin/Action/AssignOwnerNode.php Assigns ownership of a node to a user.
AssignOwnerNode.php file core/modules/node/src/Plugin/Action/AssignOwnerNode.php
AssignOwnerNode::$connection property core/modules/node/src/Plugin/Action/AssignOwnerNode.php The database connection.
AssignOwnerNode::access function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Checks object access.
AssignOwnerNode::buildConfigurationForm function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Form constructor.
AssignOwnerNode::create function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Creates an instance of the plugin.
AssignOwnerNode::defaultConfiguration function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Gets default configuration for this plugin.
AssignOwnerNode::execute function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Executes the plugin.
AssignOwnerNode::submitConfigurationForm function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Form submission handler.
AssignOwnerNode::validateConfigurationForm function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Form validation handler.
AssignOwnerNode::__construct function core/modules/node/src/Plugin/Action/AssignOwnerNode.php Constructs a new AssignOwnerNode action.
Comment::getOwner function core/modules/comment/src/Entity/Comment.php Returns the entity owner's user entity.
CommentIntegrationTest::testCommentDefaultOwner function core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php Test the default owner of comment entities.
CommentUpdateTest::testOwnerEntityKey function core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php Tests that the comment entity type has an 'owner' entity key.
ConfigImporter::importInvokeOwner function core/lib/Drupal/Core/Config/ConfigImporter.php Invokes import* methods on configuration entity storage.
ContentModerationUpdateTest::testOwnerEntityKey function core/modules/content_moderation/tests/src/Functional/Update/ContentModerationUpdateTest.php Tests that the content moderation state entity has an 'owner' entity key.
ContentTranslationHandler::getDefaultOwnerId function core/modules/content_translation/src/ContentTranslationHandler.php Default value callback for the owner base field definition.
EntityOwnerInterface interface core/modules/user/src/EntityOwnerInterface.php Defines a common interface for entities that have an owner.
EntityOwnerInterface.php file core/modules/user/src/EntityOwnerInterface.php
EntityOwnerInterface::getOwner function core/modules/user/src/EntityOwnerInterface.php Returns the entity owner's user entity.
EntityOwnerInterface::getOwnerId function core/modules/user/src/EntityOwnerInterface.php Returns the entity owner's user ID.
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 trait core/modules/user/src/EntityOwnerTrait.php Provides a trait for entities that have an owner.
EntityOwnerTrait.php file core/modules/user/src/EntityOwnerTrait.php
EntityOwnerTrait::getDefaultEntityOwner function core/modules/user/src/EntityOwnerTrait.php Default value callback for 'owner' base field.
EntityOwnerTrait::getOwner function core/modules/user/src/EntityOwnerTrait.php
EntityOwnerTrait::getOwnerId function core/modules/user/src/EntityOwnerTrait.php
EntityOwnerTrait::ownerBaseFieldDefinitions function core/modules/user/src/EntityOwnerTrait.php Returns an array of base field definitions for entity owners.
EntityOwnerTrait::setOwner function core/modules/user/src/EntityOwnerTrait.php
EntityOwnerTrait::setOwnerId function core/modules/user/src/EntityOwnerTrait.php
EntityTest::getOwner function core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php Returns the entity owner's user entity.
EntityTest::getOwnerId function core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php Returns the entity owner's user ID.
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.
File::getDefaultEntityOwner function core/modules/file/src/Entity/File.php Default value callback for 'owner' base field.
FileResourceTestBase::makeCurrentUserFileOwner function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Makes the current user the file owner.
FileTest::makeCurrentUserFileOwner function core/modules/jsonapi/tests/src/Functional/FileTest.php Makes the current user the file owner.
FileUpdateTest::testOwnerEntityKey function core/modules/file/tests/src/Functional/Update/FileUpdateTest.php Tests that the file entity type has an 'owner' entity key.
Lock::$ownerId property core/lib/Drupal/Core/TempStore/Lock.php The owner ID.
Lock::getOwnerId function core/lib/Drupal/Core/TempStore/Lock.php Gets the owner ID.
MediaUpdateTest::testOwnerEntityKey function core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php Tests that the media entity type has an 'owner' entity key.
NodeActionsConfigurationTest::testAssignOwnerNodeActionConfiguration function core/modules/node/tests/src/Functional/NodeActionsConfigurationTest.php Tests configuration of the node_assign_owner_action action.
NodeOwnerTest class core/modules/node/tests/src/Kernel/NodeOwnerTest.php Tests node owner functionality.
NodeOwnerTest.php file core/modules/node/tests/src/Kernel/NodeOwnerTest.php
NodeOwnerTest::$modules property core/modules/node/tests/src/Kernel/NodeOwnerTest.php Modules to enable.
NodeOwnerTest::setUp function core/modules/node/tests/src/Kernel/NodeOwnerTest.php

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