Search for callback

  1. Search 7.x for callback
  2. Search 8.9.x for callback
  3. Search 10.3.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
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 enable.
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.
FieldRdfaDatatypeCallbackTest class core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php Tests the RDFa output of a text field formatter with a datatype callback.
FieldRdfaDatatypeCallbackTest.php file core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php
FieldRdfaDatatypeCallbackTest::$fieldType property core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php The machine name of the field type to test.
FieldRdfaDatatypeCallbackTest::$modules property core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php Modules to enable.
FieldRdfaDatatypeCallbackTest::setUp function core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php Set the default field storage backend for fields created during tests.
FieldRdfaDatatypeCallbackTest::testDefaultFormatter function core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php Tests the default formatter.
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.
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
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
FormStateTest::testPrepareCallbackInValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
FormTestInputForgeryForm::trustedCallbacks function core/modules/system/tests/modules/form_test/src/Form/FormTestInputForgeryForm.php Lists the trusted callbacks provided by the implementing class.
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.
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
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.
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
ManagedFile::uploadAjaxCallback function core/modules/file/src/Element/ManagedFile.php #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.

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