Search for operation

  1. Search 7.x for operation
  2. Search 9.5.x for operation
  3. Search 8.9.x for operation
  4. Search 11.x for operation
  5. Other projects
Title Object type File name Summary
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.
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 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::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]]
EntityOperationsUnitTest::testUsesGroupBy function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::usesGroupBy[[api-linebreak]]
EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION constant core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
EntityTestAccessControlHandler::$viewLabelOperation property core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php Allows to grant access to just the labels.
EntityTypeManagerTest::provideFormObjectInvalidOperationData function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides test data for testGetFormObjectInvalidOperation().
EntityTypeManagerTest::testGetFormObjectInvalidOperation function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getFormObject() method with an invalid operation.
entity_test_entity_operation_alter function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_entity_operation_alter().
entity_test_operation.info.yml file core/modules/system/tests/modules/entity_test_operation/entity_test_operation.info.yml core/modules/system/tests/modules/entity_test_operation/entity_test_operation.info.yml
entity_test_operation.module file core/modules/system/tests/modules/entity_test_operation/entity_test_operation.module Contains hook implementations for Entity Operation Test Module.
entity_test_operation_entity_operation function core/modules/system/tests/modules/entity_test_operation/entity_test_operation.module Implements hook_entity_operation().
FieldConfigListBuilder::getDefaultOperations function core/modules/field_ui/src/FieldConfigListBuilder.php Gets this list's default operations.
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.
FieldStorageConfigAccessControlHandlerTest::assertAllowOperations function core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php Assert method to verify the access by operations.
field_ui_entity_operation function core/modules/field_ui/field_ui.module Implements hook_entity_operation().
FileTransferAuthorizeForm::runOperation function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Runs the operation specified in 'authorize_operation' session property.
FilterFormatListBuilder::getDefaultOperations function core/modules/filter/src/FilterFormatListBuilder.php Gets this list's default operations.
FormOperations class core/modules/workspaces/src/FormOperations.php Defines a class for reacting to form operations.

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