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. Search 11.x for callback
  6. 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
FieldDefaultValueCallbackTest class core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php Tests the default value callback.
FieldDefaultValueCallbackTest.php file core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::$defaultTheme property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::$fieldName property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php The field name.
FieldDefaultValueCallbackTest::$modules property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::setUp function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::testDefaultValueCallbackForm function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php Tests the default value callback functionality for fields.
FieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php
FieldDefinition::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Set the default value callback for the field.
FieldDefinitionInterface::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value callback for the field.
FieldDefinitionTest::mockDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Provides a Mock base field default value callback.
FieldDefinitionTest::testDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests default value callbacks.
FieldDefinitionTest::testInvalidDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests invalid default value callbacks.
FieldDefinitionTest::testNullDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests NULL default value callbacks.
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
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
FilterTestPlaceholders::trustedCallbacks function core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestPlaceholders.php
FormBuilder::trustedCallbacks function core/lib/Drupal/Core/Form/FormBuilder.php
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
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
FormStateDecoratorBase::prepareCallback function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
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 Tests prepare callback.
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 Tests prepare callback array.
FormStateTest::testPrepareCallbackInValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Tests prepare callback in valid method.
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Tests prepare callback valid method.
FormTestInputForgeryForm::trustedCallbacks function core/modules/system/tests/modules/form_test/src/Form/FormTestInputForgeryForm.php
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.
ImageButton::valueCallback function core/lib/Drupal/Core/Render/Element/ImageButton.php
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.

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