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 11.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
FieldBlock::formatterSettingsAjaxCallback function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Render API callback: gets the layout settings elements.
FieldBlock::formatterSettingsProcessCallback function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Render API callback: builds the formatter settings elements.
FieldConfigBase::$default_value_callback property core/lib/Drupal/Core/Field/FieldConfigBase.php The name of a callback function that returns default values.
FieldConfigBase::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the default value callback for the field.
FieldConfigBase::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php Sets a custom default value callback.
FieldConfigEditForm::addAjaxCallbacks function core/modules/field_ui/src/Form/FieldConfigEditForm.php Add Ajax callback for all inputs.
FieldConfigInterface::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets a custom default value callback.
FieldDefaultValueCallbackProvider class core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php Helper class for \Drupal\Tests\field\Functional\FieldDefaultValueCallbackTest.
FieldDefaultValueCallbackProvider.php file core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php
FieldDefaultValueCallbackProvider::calculateDefaultValue function core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php Helper callback calculating a default value.
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 The theme to install as the default for testing.
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 Modules to install.
FieldDefaultValueCallbackTest::setUp function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::testDefaultValueCallbackForm function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value callback for the field.
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.
field_ui_test_region_callback function core/modules/field_ui/tests/modules/field_ui_test/field_ui_test.module
File::valueCallback function core/lib/Drupal/Core/Render/Element/File.php Determines how user input is mapped to an element's #value property.
file_test_file_scan_callback function core/modules/file/tests/file_test/file_test.module Helper function for testing FileSystemInterface::scanDirectory().
file_test_file_scan_callback_reset function core/modules/file/tests/file_test/file_test.module Reset static variables used by file_test_file_scan_callback().
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.
FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue function core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Tests that AJAX elements with invalid callbacks return error code 500.
form_test_tableselect_ajax_callback function core/modules/system/tests/modules/form_test/form_test.module Ajax callback that returns the form element.
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 #lazy_builder callback; attaches the last read timestamp for a node.

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