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
FieldStorageReuseForm::reuseCallback function core/modules/field_ui/src/Form/FieldStorageReuseForm.php Callback function to handle re-using an existing field.
FieldUiTestHooks::regionCallback function core/modules/field_ui/tests/modules/field_ui_test/src/Hook/FieldUiTestHooks.php
File::valueCallback function core/lib/Drupal/Core/Render/Element/File.php Determines how user input is mapped to an element's #value property.
FileProcessOutputCallback class core/modules/package_manager/src/FileProcessOutputCallback.php Logs process output to a file.
FileProcessOutputCallback.php file core/modules/package_manager/src/FileProcessOutputCallback.php
FileProcessOutputCallback::$handle property core/modules/package_manager/src/FileProcessOutputCallback.php The file to write to.
FileProcessOutputCallback::clearErrorOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
FileProcessOutputCallback::clearOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
FileProcessOutputCallback::getErrorOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
FileProcessOutputCallback::getOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
FileProcessOutputCallback::__construct function core/modules/package_manager/src/FileProcessOutputCallback.php
FileProcessOutputCallback::__invoke function core/modules/package_manager/src/FileProcessOutputCallback.php
FileTestHelper::fileScanCallback function core/modules/file/tests/file_test/src/FileTestHelper.php Helper function for testing FileSystemInterface::scanDirectory().
FileTestHelper::fileScanCallbackReset function core/modules/file/tests/file_test/src/FileTestHelper.php Reset static variables used by FileTestHelper::fileScanCallback().
FilterPluginBase::trustedCallbacks function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Lists the trusted callbacks provided by the implementing class.
FilterTestPlaceholders::trustedCallbacks function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php Lists the trusted callbacks provided by the implementing class.
FormBuilder::trustedCallbacks function core/lib/Drupal/Core/Form/FormBuilder.php Lists the trusted callbacks provided by the implementing class.
FormElement::valueCallback function core/lib/Drupal/Core/Render/Element/FormElement.php Determines how user input is mapped to an element's #value property.
FormElementBase::valueCallback function core/lib/Drupal/Core/Render/Element/FormElementBase.php Determines how user input is mapped to an element's #value property.
FormElementInterface::valueCallback function core/lib/Drupal/Core/Render/Element/FormElementInterface.php Determines how user input is mapped to an element's #value property.
FormObjectTest::testObjectFormCallback function core/modules/system/tests/src/Functional/Form/FormObjectTest.php Tests using an object as the form callback.
FormState::prepareCallback function core/lib/Drupal/Core/Form/FormState.php Converts support notations for a form callback to a valid callable.
FormStateDecoratorBase::prepareCallback function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Converts support notations for a form callback to a valid callable.
FormStateDecoratorBaseTest::providerPrepareCallback function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testPrepareCallback().
FormStateDecoratorBaseTest::testPrepareCallback function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::prepareCallback[[api-linebreak]]
FormStateInterface::prepareCallback function core/lib/Drupal/Core/Form/FormStateInterface.php Converts support notations for a form callback to a valid callable.
FormStateTest::testPrepareCallbackArray function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormStateTest::testPrepareCallbackInValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback[[api-linebreak]]
FormTestInputForgeryForm::trustedCallbacks function core/modules/system/tests/modules/form_test/src/Form/FormTestInputForgeryForm.php Lists the trusted callbacks provided by the implementing class.
FormTestTableSelectFormBase::tableselectAjaxCallback function core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectFormBase.php Ajax callback that returns the form element.
FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Tests that AJAX elements with invalid callbacks return error code 500.
HistoryRenderCallback class core/modules/history/src/HistoryRenderCallback.php Render callback object.
HistoryRenderCallback.php file core/modules/history/src/HistoryRenderCallback.php
HistoryRenderCallback::lazyBuilder function core/modules/history/src/HistoryRenderCallback.php Render API callback: Attaches the last read timestamp for a node.
ImageButton::valueCallback function core/lib/Drupal/Core/Render/Element/ImageButton.php Determines how user input is mapped to an element's #value property.
InOperatorTest::validate_options_callback function core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php Views filter callback: Generate the values for the options.
LayoutBuilderDefaultValuesTest::defaultValueCallback function core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php Sample 'default value' callback.
LayoutTest::processCallback function core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php Provides a test #process callback.
LazyBuilders::trustedCallbacks function core/modules/announcements_feed/src/LazyBuilders.php Lists the trusted callbacks provided by the implementing class.
MachineName::valueCallback function core/lib/Drupal/Core/Render/Element/MachineName.php Determines how user input is mapped to an element's #value property.
MachineNameTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php Data provider for testValueCallback().
MachineNameTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php @covers ::valueCallback[[api-linebreak]]
ManagedFile::uploadAjaxCallback function core/modules/file/src/Element/ManagedFile.php The #ajax callback for managed_file upload forms.
ManagedFile::valueCallback function core/modules/file/src/Element/ManagedFile.php Determines how user input is mapped to an element's #value property.
MediaEmbed::trustedCallbacks function core/modules/media/src/Plugin/Filter/MediaEmbed.php Lists the trusted callbacks provided by the implementing class.
MediaLibraryWidget::trustedCallbacks function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Lists the trusted callbacks provided by the implementing class.
MenuRouterTest::doTestThemeCallbackAdministrative function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests theme negotiation for an administrative theme.
MenuRouterTest::doTestThemeCallbackFakeTheme function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests the theme negotiation when it is set to use a theme that does not exist.
MenuRouterTest::doTestThemeCallbackMaintenanceMode function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests the theme negotiation when the site is in maintenance mode.

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