Search for trigger

  1. Search 7.x for trigger
  2. Search 9.5.x for trigger
  3. Search 10.3.x for trigger
  4. Search 11.x for trigger
  5. Other projects
Title Object type File name Summary
BigPipeTestSubscriber::CONTENT_TRIGGER_EXCEPTION constant core/modules/big_pipe/tests/modules/big_pipe_test/src/EventSubscriber/BigPipeTestSubscriber.php
BigPipeTestSubscriber::onRespondTriggerException function core/modules/big_pipe/tests/modules/big_pipe_test/src/EventSubscriber/BigPipeTestSubscriber.php Triggers exception for embedded HTML/AJAX responses with certain content.
BrokenSetUpTest::$sharedTriggerFile property core/modules/simpletest/src/Tests/BrokenSetUpTest.php The path to the shared trigger file.
ContentTranslationLanguageChangeTest::testTitleDoesNotChangesOnChangingLanguageWidgetAndTriggeringAjaxCall function core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php Test that title does not change on ajax call with new language value.
ContextualLinkClickTrait::toggleContextualTriggerVisibility function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinkClickTrait.php Toggles the visibility of a contextual trigger.
DbUpdateController::triggerBatch function core/modules/system/src/Controller/DbUpdateController.php Starts the database update batch process.
DisplayTest::toggleContextualTriggerVisibility function core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php Toggles the visibility of a contextual trigger.
EntityReferenceSelectionUnitTest::testDeprecationErrorTriggering function core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php Tests deprecation error triggering.
ErrorTestController::triggerException function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Trigger an exception to test the exception handler.
ErrorTestController::triggerPDOException function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Trigger an exception to test the PDO exception handler.
ErrorTestController::triggerRendererException function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Trigger an exception during rendering.
FormAjaxResponseBuilderTest::testBuildResponseNoTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php @covers ::buildResponse
FormBuilder::elementTriggeredScriptedSubmission function core/lib/Drupal/Core/Form/FormBuilder.php Detects if an element triggered the form submission via Ajax.
FormBuilderTest::providerTestBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for ::testBuildFormWithTriggeringElement().
FormBuilderTest::testBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests whether the triggering element is properly identified.
FormState::$triggering_element property core/lib/Drupal/Core/Form/FormState.php The form element that triggered submission, which may or may not be a
button (in the case of Ajax forms). This key is often used to distinguish
between various buttons in a submit handler, and is also used in Ajax
handlers.
FormState::getTriggeringElement function core/lib/Drupal/Core/Form/FormState.php Gets the form element that triggered submission.
FormState::setTriggeringElement function core/lib/Drupal/Core/Form/FormState.php Sets the form element that triggered submission.
FormStateDecoratorBase::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the form element that triggered submission.
FormStateDecoratorBase::setTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the form element that triggered submission.
FormStateDecoratorBaseTest::testGetTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getTriggeringElement
FormStateDecoratorBaseTest::testSetTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setTriggeringElement
FormStateInterface::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the form element that triggered submission.
FormStateInterface::setTriggeringElement function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the form element that triggered submission.
JsonApiRegressionTest::testInvalidDataTriggersUnprocessableEntityErrorFromIssue3052954 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure POSTing invalid data results in a 422 response, not a PHP error.
KillSwitch::trigger function core/lib/Drupal/Core/PageCache/ResponsePolicy/KillSwitch.php Deny any page caching on the current request.
ModuleHandler::triggerDeprecationError function core/lib/Drupal/Core/Extension/ModuleHandler.php Triggers an E_USER_DEPRECATED error if any module implements the hook.
ReplicaKillSwitch::trigger function core/lib/Drupal/Core/Database/ReplicaKillSwitch.php Denies access to replica database on the current request.
TriggeringElementProgrammedTest class core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests detection of triggering_element for programmed form submissions.
TriggeringElementProgrammedTest.php file core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementProgrammedTest::buildForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form constructor.
TriggeringElementProgrammedTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Returns a unique string identifying the form.
TriggeringElementProgrammedTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form submission handler.
TriggeringElementProgrammedTest::testLimitValidationErrors function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests that #limit_validation_errors of the only submit button takes effect.
TriggeringElementProgrammedTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form validation handler.
TriggeringElementTest class core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests that FAPI correctly determines the triggering element.
TriggeringElementTest.php file core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php
TriggeringElementTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php The theme to install as the default for testing.
TriggeringElementTest::$modules property core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Modules to enable.
TriggeringElementTest::testAttemptAccessControlBypass function core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests attempts to bypass access control.
TriggeringElementTest::testNoButtonInfoInPost function core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests the triggering element when no button information is included.
TriggerPreviewCommand class core/modules/views/src/Ajax/TriggerPreviewCommand.php Provides an AJAX command for triggering the views live preview.
TriggerPreviewCommand.php file core/modules/views/src/Ajax/TriggerPreviewCommand.php
TriggerPreviewCommand::render function core/modules/views/src/Ajax/TriggerPreviewCommand.php Return an array to be run through json_encode and sent to the client.
TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION constant core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Untrusted callbacks trigger silenced E_USER_DEPRECATION errors.
TrustedCallbackInterface::TRIGGER_WARNING constant core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Untrusted callbacks trigger E_USER_WARNING errors.
views_ui_add_ajax_trigger function core/modules/views_ui/admin.inc Converts a form element in the add view wizard to be AJAX-enabled.

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