Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
EntityOperations::entityPredelete function core/modules/workspaces/src/EntityOperations.php Acts on an entity before it is deleted.
EntityOperations::entityPreload function core/modules/workspaces/src/EntityOperations.php Acts on entity IDs before they are loaded.
EntityOperations::entityPresave function core/modules/workspaces/src/EntityOperations.php Acts on an entity before it is created or updated.
EntityOperations::entityPresave function core/modules/content_moderation/src/EntityOperations.php Acts on an entity and set published status based on the moderation state.
EntityOperations::entityRevisionDelete function core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityTranslationDelete function core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityTranslationInsert function core/modules/workspaces/src/EntityOperations.php Acts after an entity translation has been added.
EntityOperations::entityUpdate function core/modules/workspaces/src/EntityOperations.php Responds to updates to an entity.
EntityOperations::entityUpdate function core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityView function core/modules/content_moderation/src/EntityOperations.php Act on entities being assembled before rendering.
EntityOperations::getEntityRepository function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::getEntityTypeId function core/modules/views/src/Plugin/views/field/EntityOperations.php Returns the entity type identifier.
EntityOperations::getEntityTypeManager function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::getLanguageManager function core/modules/views/src/Plugin/views/field/EntityOperations.php Returns the language manager.
EntityOperations::getView function core/modules/views/src/Plugin/views/field/EntityOperations.php Returns the top object of a view.
EntityOperations::isPublished function core/modules/content_moderation/src/EntityOperations.php Checks if the entity is published.
EntityOperations::query function core/modules/views/src/Plugin/views/field/EntityOperations.php Called to add the field to a query.
EntityOperations::render function core/modules/views/src/Plugin/views/field/EntityOperations.php Renders the field.
EntityOperations::shouldSkipOperations function core/modules/workspaces/src/EntityOperations.php Determines whether we need to react on entity operations.
EntityOperations::updateOrCreateFromEntity function core/modules/content_moderation/src/EntityOperations.php Creates or updates the moderation state of an entity.
EntityOperations::usesGroupBy function core/modules/views/src/Plugin/views/field/EntityOperations.php Provides the handler some groupby.
EntityOperations::__construct function core/modules/views/src/Plugin/views/field/EntityOperations.php Constructs a new EntityOperations object.
EntityOperations::__construct function core/modules/workspaces/src/EntityOperations.php Constructs a new EntityOperations instance.
EntityOperations::__construct function core/modules/content_moderation/src/EntityOperations.php Constructs a new EntityOperations object.
EntityOperationsTest class core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php @coversDefaultClass \Drupal\content_moderation\EntityOperations[[api-linebreak]]
EntityOperationsTest class core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php Tests that operations can be injected from the hook.
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 install.
EntityOperationsTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Modules to install.
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::testRenderWithoutEntity function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render[[api-linebreak]]

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