Search for entityOperation

  1. Search 7.x for entityOperation
  2. Search 9.5.x for entityOperation
  3. Search 8.9.x for entityOperation
  4. Search 10.3.x for entityOperation
  5. Other projects
Title Object type File name Summary
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/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 install.
EntityOperationsTest::$modules property core/modules/system/tests/src/Functional/Entity/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::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
EntityTestHooks::entityOperationAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_operation_alter().
EntityTestOperationHooks::entityOperation function core/modules/system/tests/modules/entity_test_operation/src/Hook/EntityTestOperationHooks.php Implements hook_entity_operation().
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 install.
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.
FieldUiHooks::entityOperation function core/modules/field_ui/src/Hook/FieldUiHooks.php Implements hook_entity_operation().
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.

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