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 10.3.x for operation
  5. Other projects
Title Object type File name Summary
EntityOperationsCacheabilityTest.php file core/modules/system/tests/src/Kernel/Entity/EntityOperationsCacheabilityTest.php
EntityOperationsCacheabilityTest::testEntityOperationsCacheability function core/modules/system/tests/src/Kernel/Entity/EntityOperationsCacheabilityTest.php Test cacheability is added via entity operations functions and hooks.
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::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 Tests Drupal\views\Plugin\views\field\EntityOperations.
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 @legacy-covers ::__construct
EntityOperationsUnitTest::testDefineOptions function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php Tests define options.
EntityOperationsUnitTest::testRenderWithDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php Tests render with destination.
EntityOperationsUnitTest::testRenderWithoutDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php Tests render without destination.
EntityOperationsUnitTest::testRenderWithoutEntity function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php Tests render without entity.
EntityOperationsUnitTest::testUsesGroupBy function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php Tests uses group by.
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.
EntityTestHooks::entityOperation function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_operation().
EntityTestHooks::entityOperationAlter function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_operation_alter().
EntityTestOperationHooks class core/modules/system/tests/modules/entity_test_operation/src/Hook/EntityTestOperationHooks.php Hook implementations for entity_test_operation.
EntityTestOperationHooks.php file core/modules/system/tests/modules/entity_test_operation/src/Hook/EntityTestOperationHooks.php
EntityTestOperationHooks::entityOperation function core/modules/system/tests/modules/entity_test_operation/src/Hook/EntityTestOperationHooks.php Implements hook_entity_operation().
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_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
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.
FieldEntityOperationsTest::testEntityOperationsCacheability function core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php Tests entity operations cacheability varies correctly.
FieldStorageConfigAccessControlHandlerTest::assertAllowOperations function core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php Assert method to verify the access by operations.
FieldUiHooks::entityOperation function core/modules/field_ui/src/Hook/FieldUiHooks.php Implements hook_entity_operation().
FileTransferAuthorizeForm::runOperation function core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php Runs the operation specified in 'authorize_operation' session property.

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