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
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.
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 #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.
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[[api-linebreak]]
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[[api-linebreak]]
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.

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