Search for trigger

  1. Search 7.x for trigger
  2. Search 8.9.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.
CKEditor5TestBase::triggerKeyUp function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5TestBase.php Trigger a keyup event on the selected element.
CKEditorStylesheetsWarningTest::installThemeThatTriggersWarning function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditorStylesheetsWarningTest.php Installs and enables themes for testing.
ContentTranslationLanguageChangeTest::testTitleDoesNotChangesOnChangingLanguageWidgetAndTriggeringAjaxCall function core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php Tests 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.
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.
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.
JavascriptStatesTest::doCheckboxesTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a checkboxes element.
JavascriptStatesTest::doCheckboxTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a checkbox element.
JavascriptStatesTest::doMultipleTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by multiple elements.
JavascriptStatesTest::doNestedTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of radios element triggered by other radios element.
JavascriptStatesTest::doRadiosTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a radios element.
JavascriptStatesTest::doSelectTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a select element.
JavascriptStatesTest::doTextfieldTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a textfield element.
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.
MediaSourceImageTest::testOnlyMainPropertiesTriggerSourceFieldChanged function core/modules/media/tests/src/Functional/MediaSourceImageTest.php Test that non-main properties do not trigger source field value change.
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.

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