Search for trigger

  1. Search 7.x for trigger
  2. Search 9.5.x for trigger
  3. Search 8.9.x for trigger
  4. Search 10.3.x for trigger
  5. Other projects
Title Object type File name Summary
AdminUiTest::assertNoAjaxRequestTriggered function core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php Asserts that no (new) AJAX requests were triggered.
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.
ContentImportTest::testEntityValidationIsTriggered function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests that the importer validates entities before saving them.
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
FormState::getTriggeringElement function core/lib/Drupal/Core/Form/FormState.php
FormState::setTriggeringElement function core/lib/Drupal/Core/Form/FormState.php
FormStateDecoratorBase::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBase::setTriggeringElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
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::doMultipleSelectTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a multiple select 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.
MediaConfigUpdater::$triggeredDeprecations property core/modules/media/src/MediaConfigUpdater.php Stores which deprecations were triggered.
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.
RecipeRunner::triggerEvent function core/lib/Drupal/Core/Recipe/RecipeRunner.php Triggers the RecipeAppliedEvent.
ReplicaKillSwitch::trigger function core/lib/Drupal/Core/Database/ReplicaKillSwitch.php Denies access to replica database on the current request.
ResponsiveImageConfigUpdater::$triggeredDeprecations property core/modules/responsive_image/src/ResponsiveImageConfigUpdater.php Stores which deprecations were triggered.
SessionTestController::triggerWriteException function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Trigger an exception when the session is written.
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
TriggeringElementProgrammedTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementProgrammedTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
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

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