Search for operation

  1. Search 7.x for operation
  2. Search 8.9.x for operation
  3. Search 10.3.x for operation
  4. Search 11.x for operation
  5. Other projects
Title Object type File name Summary
EntityOperations::create function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::defineOptions function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::entityDelete function core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityFormAlter function core/modules/workspaces/src/EntityOperations.php Alters entity forms to disallow concurrent editing in multiple workspaces.
EntityOperations::entityFormEntityBuild function core/modules/workspaces/src/EntityOperations.php Entity builder that marks all supported entities as pending revisions.
EntityOperations::entityInsert function core/modules/workspaces/src/EntityOperations.php Responds to the creation of a new entity.
EntityOperations::entityInsert function core/modules/content_moderation/src/EntityOperations.php
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::entityUpdate function core/modules/content_moderation/src/EntityOperations.php
EntityOperations::entityUpdate function core/modules/workspaces/src/EntityOperations.php Responds to updates to an entity.
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
EntityOperations::getEntityTypeManager function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::getLanguageManager function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::getView function core/modules/views/src/Plugin/views/field/EntityOperations.php
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
EntityOperations::render function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::shouldSkipPreOperations function core/modules/workspaces/src/EntityOperations.php Determines whether we need to react on pre-save or pre-delete 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
EntityOperations::__construct function core/modules/views/src/Plugin/views/field/EntityOperations.php Constructs a new EntityOperations object.
EntityOperations::__construct function core/modules/content_moderation/src/EntityOperations.php Constructs a new EntityOperations object.
EntityOperations::__construct function core/modules/workspaces/src/EntityOperations.php Constructs a new EntityOperations instance.
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/content_moderation/tests/src/Kernel/EntityOperationsTest.php
EntityOperationsTest.php file core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest::$defaultTheme property core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
EntityOperationsTest::$modules property core/modules/system/tests/src/Functional/Entity/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/content_moderation/tests/src/Kernel/EntityOperationsTest.php
EntityOperationsTest::setUp function core/modules/system/tests/src/Functional/Entity/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.

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