Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
EntityOperationsTest.php file core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest.php file core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
EntityOperationsTest::$defaultTheme property core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php The theme to install as the default for testing.
EntityOperationsTest::$modules property core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php Modules to enable.
EntityOperationsTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Modules to enable.
EntityOperationsTest::createNodeType function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Creates a page node type to test with, ensuring that it's moderated.
EntityOperationsTest::createRole function core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest::setUp function core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest::setUp function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
EntityOperationsTest::testArchive function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that an unpublished state may be made the default revision.
EntityOperationsTest::testEntityOperationAlter function core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php Checks that hook_entity_operation_alter() can add an operation.
EntityOperationsTest::testPendingRevisions function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that the process of saving pending revisions works as expected.
EntityOperationsTest::testPublishedCreation function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that a newly-created node can go straight to published.
EntityOperationsUnitTest class core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @coversDefaultClass \Drupal\views\Plugin\views\field\EntityOperations[[api-linebreak]]
@group Views
EntityOperationsUnitTest.php file core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
EntityOperationsUnitTest::$entityRepository property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The entity repository.
EntityOperationsUnitTest::$entityTypeManager property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The entity type manager.
EntityOperationsUnitTest::$languageManager property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The language manager.
EntityOperationsUnitTest::$plugin property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The plugin under test.
EntityOperationsUnitTest::setUp function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::__construct[[api-linebreak]]
EntityOperationsUnitTest::testDefineOptions function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::defineOptions[[api-linebreak]]
EntityOperationsUnitTest::testRenderWithDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render[[api-linebreak]]
EntityOperationsUnitTest::testRenderWithoutDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render[[api-linebreak]]
EntityOperationsUnitTest::testUsesGroupBy function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::usesGroupBy[[api-linebreak]]
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
EntityPublishedActionDeriver class core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityPublishedActionDeriver.php Provides an action deriver that finds publishable entity types.
EntityPublishedActionDeriver.php file core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityPublishedActionDeriver.php
EntityPublishedActionDeriver::isApplicable function core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityPublishedActionDeriver.php Indicates whether the deriver can be used for the provided entity type.
EntityPublishedInterface interface core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Provides an interface for access to an entity's published state.
EntityPublishedInterface.php file core/lib/Drupal/Core/Entity/EntityPublishedInterface.php
EntityPublishedInterface::isPublished function core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Returns whether or not the entity is published.
EntityPublishedInterface::setPublished function core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Sets the entity as published.
EntityPublishedInterface::setUnpublished function core/lib/Drupal/Core/Entity/EntityPublishedInterface.php Sets the entity as unpublished.
EntityPublishedTrait trait core/lib/Drupal/Core/Entity/EntityPublishedTrait.php Provides a trait for published status.
EntityPublishedTrait.php file core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
EntityPublishedTrait::isPublished function core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
EntityPublishedTrait::publishedBaseFieldDefinitions function core/lib/Drupal/Core/Entity/EntityPublishedTrait.php Returns an array of base field definitions for publishing status.

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