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
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.
MenuRouterTest::doTestThemeCallbackNoThemeRequested function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests the theme negotiation when no theme is requested.
MenuRouterTest::doTestThemeCallbackOptionalTheme function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests the theme negotiation when it is set to use an optional theme.
MenuRouterTest::doTestTitleCallbackFalse function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests title callback set to FALSE.
MenuRouterTest::doTestTitleMenuCallback function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests page title of MENU_CALLBACKs.
MenuTestController::breadcrumbTitleCallback function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php A title callback for XSS breadcrumb check.
MenuTestController::menuTestCallback function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php Some known placeholder content which can be used for testing.
MenuTestController::titleCallback function core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php A title callback method for test routes.
menu_test_title_callback function core/modules/system/tests/modules/menu_test/menu_test.module Title callback: Concatenates the title and case number.
NodeSearch::trustedCallbacks function core/modules/node/src/Plugin/Search/NodeSearch.php Lists the trusted callbacks provided by the implementing class.
NodeViewBuilder::trustedCallbacks function core/modules/node/src/NodeViewBuilder.php Lists the trusted callbacks provided by the implementing class.
OliveroPreRender::trustedCallbacks function core/themes/olivero/src/OliveroPreRender.php Lists the trusted callbacks provided by the implementing class.
options_test_allowed_values_callback function core/modules/options/tests/options_test/options_test.module Implements callback_allowed_values_function().
options_test_dynamic_values_callback function core/modules/options/tests/options_test/options_test.module Implements callback_allowed_values_function().
PagerTestController::trustedCallbacks function core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php Lists the trusted callbacks provided by the implementing class.
Password::valueCallback function core/lib/Drupal/Core/Render/Element/Password.php Determines how user input is mapped to an element's #value property.
PasswordConfirm::valueCallback function core/lib/Drupal/Core/Render/Element/PasswordConfirm.php Determines how user input is mapped to an element's #value property.
PasswordConfirmTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php Data provider for testValueCallback().
PasswordConfirmTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php @covers ::valueCallback
PasswordTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php Data provider for testValueCallback().
PasswordTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php @covers ::valueCallback
PathElement::valueCallback function core/lib/Drupal/Core/Render/Element/PathElement.php Determines how user input is mapped to an element's #value property.
PathPluginBaseTest::testAlterRouteWithAlterCallback function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the alter route method with preexisting title callback.
PermissionHandlerTest::testBuildPermissionsYamlCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests dynamic callback permissions provided by YML files.
PermissionHandlerTest::testPermissionsYamlStaticAndCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests a YAML file containing both static permissions and a callback.
PlaceholdersTest::callback function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php #lazy_builder callback; attaches setting, generates markup.
PlaceholdersTest::callbackNonArrayReturn function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php A lazy builder callback that returns an invalid renderable.
PlaceholdersTest::callbackPerUser function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php #lazy_builder callback; attaches setting, generates markup, user-specific.
PlaceholdersTest::callbackTagCurrentTemperature function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php #lazy_builder callback; attaches setting, generates markup, cache tag.
PlaceholdersTest::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Lists the trusted callbacks provided by the implementing class.
PluginBase::trustedCallbacks function core/modules/views/src/Plugin/views/PluginBase.php Lists the trusted callbacks provided by the implementing class.
PluginManagerBaseTest::createInstanceCallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php A callback method for mocking FactoryInterface objects.
PrepareCallbackTestForm class core/tests/Drupal/Tests/Core/Form/FormStateTest.php A test form used for the prepareCallback() tests.
PrepareCallbackTestForm::buildForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form constructor.
PrepareCallbackTestForm::getFormId function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Returns a unique string identifying the form.
PrepareCallbackTestForm::submitForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form submission handler.
PrepareCallbackTestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form validation handler.
ProcessingTest::testBatchRedirectFinishedCallback function core/modules/system/tests/src/Functional/Batch/ProcessingTest.php Tests batches that redirect in the batch finished callback.
Radios::valueCallback function core/lib/Drupal/Core/Render/Element/Radios.php Determines how user input is mapped to an element's #value property.
Range::valueCallback function core/lib/Drupal/Core/Render/Element/Range.php Determines how user input is mapped to an element's #value property.
RdfaAttributesTest::testDatatypeCallback function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Tests attribute creation for mappings that override human-readable content.
RdfaAttributesTest::testDatatypeCallbackWithConverter function core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php Tests attribute creation for mappings which use data converters.
RecursivePlaceholdersTest::callback function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php #lazy_builder callback; bubbles another placeholder.
RecursivePlaceholdersTest::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Lists the trusted callbacks provided by the implementing class.
RenderCallbackInterface interface core/lib/Drupal/Core/Render/Element/RenderCallbackInterface.php Indicates all public methods are safe to use in render callbacks.
RenderCallbackInterface.php file core/lib/Drupal/Core/Render/Element/RenderCallbackInterface.php

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