Search for entityOperation

  1. Search 7.x for entityOperation
  2. Search 8.9.x for entityOperation
  3. Search 10.3.x for entityOperation
  4. Search 11.x for entityOperation
  5. Other projects
Title Object type File name Summary
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.
EntityOperations::__construct function core/modules/views/src/Plugin/views/field/EntityOperations.php Constructs a new EntityOperations object.
EntityOperationsTest class core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php @coversDefaultClass \Drupal\content_moderation\EntityOperations
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 The theme to install as the default for testing.
EntityOperationsTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Modules to enable.
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
@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
EntityOperationsUnitTest::testDefineOptions function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::defineOptions
EntityOperationsUnitTest::testRenderWithDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render
EntityOperationsUnitTest::testRenderWithoutDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render
EntityOperationsUnitTest::testRenderWithoutEntity function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render
EntityOperationsUnitTest::testUsesGroupBy function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::usesGroupBy
FieldEntityOperationsTest class core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php Tests the core Drupal\views\Plugin\views\field\EntityOperations handler.
FieldEntityOperationsTest.php file core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
FieldEntityOperationsTest::$defaultTheme property core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php The theme to install as the default for testing.
FieldEntityOperationsTest::$modules property core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php Modules to enable.
FieldEntityOperationsTest::$testViews property core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php Views used by this test.
FieldEntityOperationsTest::setUp function core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php Sets up the test.
FieldEntityOperationsTest::testEntityOperations function core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php Tests entity operations field.
InlineBlockEntityOperations class core/modules/layout_builder/src/InlineBlockEntityOperations.php Defines a class for reacting to entity events related to Inline Blocks.
InlineBlockEntityOperations.php file core/modules/layout_builder/src/InlineBlockEntityOperations.php
InlineBlockEntityOperations::$blockContentStorage property core/modules/layout_builder/src/InlineBlockEntityOperations.php The block content storage.
InlineBlockEntityOperations::$entityTypeManager property core/modules/layout_builder/src/InlineBlockEntityOperations.php The entity type manager.
InlineBlockEntityOperations::$usage property core/modules/layout_builder/src/InlineBlockEntityOperations.php Inline block usage tracking service.
InlineBlockEntityOperations::create function core/modules/layout_builder/src/InlineBlockEntityOperations.php Instantiates a new instance of this class.
InlineBlockEntityOperations::deleteBlocksAndUsage function core/modules/layout_builder/src/InlineBlockEntityOperations.php Delete the inline blocks and the usage records.
InlineBlockEntityOperations::getBlockIdsForRevisionIds function core/modules/layout_builder/src/InlineBlockEntityOperations.php Gets blocks IDs for an array of revision IDs.
InlineBlockEntityOperations::getPluginBlockId function core/modules/layout_builder/src/InlineBlockEntityOperations.php Gets a block ID for an inline block plugin.
InlineBlockEntityOperations::getRemovedBlockIds function core/modules/layout_builder/src/InlineBlockEntityOperations.php Gets the IDs of the inline blocks that were removed.
InlineBlockEntityOperations::handleEntityDelete function core/modules/layout_builder/src/InlineBlockEntityOperations.php Handles entity tracking on deleting a parent entity.
InlineBlockEntityOperations::handlePreSave function core/modules/layout_builder/src/InlineBlockEntityOperations.php Handles saving a parent entity.
InlineBlockEntityOperations::removeUnused function core/modules/layout_builder/src/InlineBlockEntityOperations.php Removes unused inline blocks.

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