Search for Action

  1. Search 7.x for Action
  2. Search 9.5.x for Action
  3. Search 8.9.x for Action
  4. Search 10.3.x for Action
  5. Search 11.x for Action
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Action class core/modules/system/src/Entity/Action.php Defines the configured action entity.
Action class core/modules/system/src/Plugin/migrate/source/Action.php Drupal action source from database.
Action class core/lib/Drupal/Core/Action/Attribute/Action.php Defines an Action attribute object.
Action class core/lib/Drupal/Core/Annotation/Action.php Defines an Action annotation object.

All search results

Title Object type File name Summary
TransactionTest::testRootTransactionEndCallbackAddedWithoutTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests that adding a post-transaction callback fails with no transaction.
TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after a DDL statement.
TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndRollbackForTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction rollback executes after a DDL statement.
TransactionTest::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after transaction rollback.
TransactionTest::testRootTransactionEndCallbackCalledOnCommit function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after transaction commit.
TransactionTest::testRootTransactionEndCallbackFailureUponDdlAndRollbackForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction rollback failure after a DDL statement.
TransactionTest::testStartTransactionWhenActive function core/modules/mysqli/tests/src/Kernel/mysqli/TransactionTest.php Tests starting a transaction when there's one active on the client.
TransactionTest::testTransactionGadgetChain function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests defense against Object Injection in Transaction class.
TransactionTest::testTransactionManagerFailureOnPendingStackItems function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests TransactionManager failure.
TransactionTest::testTransactionName function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests for transaction names.
TransactionTest::testTransactionStacking function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests transaction stacking, commit, and rollback.
TransactionTest::testTransactionWithDdlStatement function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests the compatibility of transactions with DDL statements.
TransactionTest::transactionInnerLayer function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Creates an "inner layer" transaction.
TransactionTest::transactionOuterLayer function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Encapsulates a transaction's "inner layer" with an "outer layer".
TypedConfigTest::testNotBlankInteractionWithNotNull function core/tests/Drupal/KernelTests/Config/TypedConfigTest.php Tests the behavior of `NotBlank` on required data.
UnpublishAction class core/lib/Drupal/Core/Action/Plugin/Action/UnpublishAction.php Unpublishes an entity.
UnpublishAction.php file core/lib/Drupal/Core/Action/Plugin/Action/UnpublishAction.php
UnpublishAction::access function core/lib/Drupal/Core/Action/Plugin/Action/UnpublishAction.php Checks object access.
UnpublishAction::execute function core/lib/Drupal/Core/Action/Plugin/Action/UnpublishAction.php Executes the plugin.
user.links.action.yml file core/modules/user/user.links.action.yml core/modules/user/user.links.action.yml
UserActionConfigSchemaTest class core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php Tests that the config schema is valid when roles are added or removed.
UserActionConfigSchemaTest.php file core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php
UserActionConfigSchemaTest::$modules property core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php Modules to install.
UserActionConfigSchemaTest::testValidUserActionConfigSchema function core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php Tests whether the user action config schema are valid.
UserBatchActionTest class core/modules/views/tests/src/Functional/UserBatchActionTest.php Tests the views bulk form with batch action.
UserBatchActionTest.php file core/modules/views/tests/src/Functional/UserBatchActionTest.php
UserBatchActionTest::$defaultTheme property core/modules/views/tests/src/Functional/UserBatchActionTest.php The theme to install as the default for testing.
UserBatchActionTest::$modules property core/modules/views/tests/src/Functional/UserBatchActionTest.php Modules to install.
UserBatchActionTest::testUserAction function core/modules/views/tests/src/Functional/UserBatchActionTest.php Tests user admin batch.
UserLoginBlock::renderPlaceholderFormAction function core/modules/user/src/Plugin/Block/UserLoginBlock.php Render API callback: Renders a form action URL including destination.
UserUid::defaultActions function core/modules/comment/src/Plugin/views/argument/UserUid.php Default actions.
user_batch_action_test.info.yml file core/modules/views/tests/modules/user_batch_action_test/user_batch_action_test.info.yml core/modules/views/tests/modules/user_batch_action_test/user_batch_action_test.info.yml
user_batch_action_test.schema.yml file core/modules/views/tests/modules/user_batch_action_test/config/schema/user_batch_action_test.schema.yml core/modules/views/tests/modules/user_batch_action_test/config/schema/user_batch_action_test.schema.yml
ViewAddForm::actions function core/modules/views_ui/src/ViewAddForm.php Returns an array of supported actions for the current entity form.
ViewDuplicateForm::actions function core/modules/views_ui/src/ViewDuplicateForm.php Returns an array of supported actions for the current entity form.
ViewEditForm::actions function core/modules/views_ui/src/ViewEditForm.php Returns an array of supported actions for the current entity form.
ViewPreviewForm::actions function core/modules/views_ui/src/ViewPreviewForm.php Returns an array of supported actions for the current entity form.
views_ui.links.action.yml file core/modules/views_ui/views_ui.links.action.yml core/modules/views_ui/views_ui.links.action.yml
WildcardConfigActionsTest class core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests config actions targeting multiple entities using wildcards.
WildcardConfigActionsTest.php file core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php
WildcardConfigActionsTest::$modules property core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Modules to install.
WildcardConfigActionsTest::setUp function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php
WildcardConfigActionsTest::testCreateForEach function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that the createForEach action works as expected in normal conditions.
WildcardConfigActionsTest::testCreateForEachErrorsIfAlreadyExists function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that the createForEach action errs on conflict with existing config.
WildcardConfigActionsTest::testCreateForEachErrorsIfNoBundleEntityTypesExist function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that the createForEach action requires bundle entity types to exist.
WildcardConfigActionsTest::testCreateForEachIfNotExists function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that the createForEachIfNotExists action ignores existing config.
WildcardConfigActionsTest::testCreateForEachNotAvailableOnNonBundleEntities function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that the createForEach action only works on bundle entities.
WildcardConfigActionsTest::testCreateForEachValidatesCreatedEntities function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that the createForEach action validates the config it creates.
WildcardConfigActionsTest::testCreateForEachWithLabel function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests using the `%label` placeholder with the createForEach action.
WildcardConfigActionsTest::testInvalidExpression function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that an invalid wildcard expression will raise an error.

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