Search for callback

  1. Search 7.x for callback
  2. Search 9.5.x for callback
  3. Search 8.9.x for callback
  4. Search 10.3.x for callback
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Callback class core/modules/migrate/src/Plugin/migrate/process/Callback.php Passes the source value to a callback.
callback function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php A test render callback.

All search results

Title Object type File name Summary
Callbacks::userRegisterFormRebuild function core/modules/system/tests/modules/form_test/src/Callbacks.php Submit callback that just lets the form rebuild.
Callbacks::validateName function core/modules/system/tests/modules/form_test/src/Callbacks.php Form element validation handler for 'name' in form_test_validate_form().
Callbacks::validationFormCallback function core/modules/system/tests/modules/ajax_forms_test/src/Callbacks.php Ajax form callback: Selects the 'driver_text' element of the validation form.
Callbacks::validationNumberFormCallback function core/modules/system/tests/modules/ajax_forms_test/src/Callbacks.php Ajax form callback: Selects the 'driver_number' element of the validation form.
CallbackTest class core/modules/migrate/tests/src/Unit/process/CallbackTest.php Tests the callback process plugin.
CallbackTest.php file core/modules/migrate/tests/src/Unit/process/CallbackTest.php
CallbackTest::providerCallback function core/modules/migrate/tests/src/Unit/process/CallbackTest.php Data provider for ::testCallback().
CallbackTest::providerCallbackArray function core/modules/migrate/tests/src/Unit/process/CallbackTest.php Data provider for ::testCallbackArray().
CallbackTest::providerCallbackExceptions function core/modules/migrate/tests/src/Unit/process/CallbackTest.php Data provider for ::testCallbackExceptions().
CallbackTest::strToLower function core/modules/migrate/tests/src/Unit/process/CallbackTest.php Makes a string lowercase for testing purposes.
CallbackTest::testCallback function core/modules/migrate/tests/src/Unit/process/CallbackTest.php Tests callback with valid "callable".
CallbackTest::testCallbackArray function core/modules/migrate/tests/src/Unit/process/CallbackTest.php Test callback with valid "callable" and multiple arguments.
CallbackTest::testCallbackExceptions function core/modules/migrate/tests/src/Unit/process/CallbackTest.php Tests callback exceptions.
callback_allowed_values_function function core/modules/options/options.api.php Provide the allowed values for a 'list_*' field.
callback_batch_finished function core/lib/Drupal/Core/Form/form.api.php Complete a batch process.
callback_batch_operation function core/lib/Drupal/Core/Form/form.api.php Perform a single batch operation.
Checkbox::valueCallback function core/lib/Drupal/Core/Render/Element/Checkbox.php Determines how user input is mapped to an element's #value property.
Checkboxes::valueCallback function core/lib/Drupal/Core/Render/Element/Checkboxes.php Determines how user input is mapped to an element's #value property.
ClaroPreRender::trustedCallbacks function core/themes/claro/src/ClaroPreRender.php Lists the trusted callbacks provided by the implementing class.
CommentLazyBuilders::trustedCallbacks function core/modules/comment/src/CommentLazyBuilders.php Lists the trusted callbacks provided by the implementing class.
CommentStatisticsUnitTest::fetchObjectCallback function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Return value callback for fetchObject() function on mocked object.
ComposerInspector::$processCallback property core/modules/package_manager/src/ComposerInspector.php The process output callback.
ConfigEntityUpdaterTest::testUpdateDefaultCallback function core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php @covers ::update[[api-linebreak]]
ContentModerationConfigureEntityTypesForm::ajaxCallback function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Ajax callback to close the modal and update the selected text.
Custom::trustedCallbacks function core/modules/views/src/Plugin/views/field/Custom.php Lists the trusted callbacks provided by the implementing class.
Datelist::valueCallback function core/lib/Drupal/Core/Datetime/Element/Datelist.php Validates the date type to adjust 12 hour time and prevent invalid dates.
If the date is valid, the date is set in the form.
DatelistElementFormTest::datelistDateCallback function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::datelistDateCallbackTrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
DatelistElementFormTest::testDatelistElementUntrustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Tests that exceptions are raised if untrusted callbacks are used.
DatelistElementFormTest::trustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php Lists the trusted callbacks provided by the implementing class.
Datetime::valueCallback function core/lib/Drupal/Core/Datetime/Element/Datetime.php Determines how user input is mapped to an element's #value property.
DatetimeElementFormTest::datetimeDateCallback function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::datetimeDateCallbackTrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::datetimeTimeCallback function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::datetimeTimeCallbackTrusted function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
DatetimeElementFormTest::testDatetimeElementUntrustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Tests that deprecations are raised if untrusted callbacks are used.
DatetimeElementFormTest::trustedCallbacks function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Lists the trusted callbacks provided by the implementing class.
DatetimeFormElementTest::testDatetimeLocalValueCallback function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks expected values are returned by ::valueCallback().
DisplayPluginBase::trustedCallbacks function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Lists the trusted callbacks provided by the implementing class.
DoTrustedCallbackTrait trait core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php Ensures that only predefined methods can be used as callback methods.
DoTrustedCallbackTrait.php file core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php
DoTrustedCallbackTrait::doTrustedCallback function core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php Performs a callback.
DoTrustedCallbackTraitTest class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php @coversDefaultClass \Drupal\Core\Security\DoTrustedCallbackTrait[[api-linebreak]]
@group Security
DoTrustedCallbackTraitTest.php file core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
DoTrustedCallbackTraitTest::errorTypeProvider function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Data provider for tests of ::doTrustedCallback $error_type argument.
DoTrustedCallbackTraitTest::providerTestTrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Data provider for ::testTrustedCallbacks().
DoTrustedCallbackTraitTest::providerTestUntrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Data provider for ::testUntrustedCallbacks().
DoTrustedCallbackTraitTest::testException function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php @dataProvider errorTypeProvider
DoTrustedCallbackTraitTest::testSilencedDeprecation function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php @dataProvider errorTypeProvider
@group legacy
DoTrustedCallbackTraitTest::testTrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php @covers ::doTrustedCallback[[api-linebreak]]
@dataProvider providerTestTrustedCallbacks

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