Search for callback

  1. Search 7.x for callback
  2. Search 9.5.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
RendererCallbackTest::testCallback function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php Tests the expected deprecations are triggered by Renderer::doCallback().
RendererCallbackTest::__invoke function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php Implements magic method as a render callback.
RendererPlaceholdersTest::testNonScalarLazybuilderCallbackContext function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render[[api-linebreak]]
@covers ::doRender[[api-linebreak]]
RendererPlaceholdersTest::testScalarLazybuilderCallbackContext function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render[[api-linebreak]]
@covers ::doRender[[api-linebreak]]
RendererTest::testRenderWithAccessCallbackCallable function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render[[api-linebreak]]
@covers ::doRender[[api-linebreak]]
RendererTest::testRenderWithAccessPropertyAndCallback function core/tests/Drupal/Tests/Core/Render/RendererTest.php Ensures that the #access property wins over the callable.
RenderPlaceholderMessageTestController::trustedCallbacks function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
RouteProcessorCsrf::trustedCallbacks function core/lib/Drupal/Core/Access/RouteProcessorCsrf.php
ScanDirectoryTest::testOptionCallback function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check that the callback function is called correctly.
Select::valueCallback function core/lib/Drupal/Core/Render/Element/Select.php
ShortcutLazyBuilders::trustedCallbacks function core/modules/shortcut/src/ShortcutLazyBuilders.php Lists the trusted callbacks provided by the implementing class.
SortPluginBase::trustedCallbacks function core/modules/views/src/Plugin/views/sort/SortPluginBase.php Lists the trusted callbacks provided by the implementing class.
State::labelCallback function core/modules/workflows/src/State.php Helper method to convert a State value object to a label.
StateTest::testLabelCallback function core/modules/workflows/tests/src/Unit/StateTest.php @covers ::labelCallback[[api-linebreak]]
StaticDiscoveryDecoratorTest::getRegisterDefinitionsCallback function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Helper method to provide a mocked callback object with expectations.
StylePluginBase::trustedCallbacks function core/modules/views/src/Plugin/views/style/StylePluginBase.php Lists the trusted callbacks provided by the implementing class.
SystemTestController::trustedCallbacks function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php
system_post_update_language_item_callback function core/modules/system/system.post_update.php Force cache clear for language item callback.
Table::valueCallback function core/lib/Drupal/Core/Render/Element/Table.php
Tableselect::valueCallback function core/lib/Drupal/Core/Render/Element/Tableselect.php
TestAccessClass::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestAjaxBlock::ajaxCallback function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Ajax callback.
TestBase::$originalShutdownCallbacks property core/modules/simpletest/src/TestBase.php The original array of shutdown function callbacks.
TestBase::filePreDeleteCallback function core/modules/simpletest/src/TestBase.php Ensures test files are deletable.
TestCallables::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTest.php
TestPermissionCallbacks class core/modules/user/tests/src/Unit/PermissionHandlerTest.php
TestPermissionCallbacks::singleDescription function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
TestPermissionCallbacks::titleDescription function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
TestPermissionCallbacks::titleDescriptionRestrictAccess function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
TestPermissionCallbacks::titleProvider function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
Textarea::valueCallback function core/lib/Drupal/Core/Render/Element/Textarea.php
TextareaTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php Data provider for testValueCallback().
TextareaTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php @covers ::valueCallback[[api-linebreak]]
Textfield::valueCallback function core/lib/Drupal/Core/Render/Element/Textfield.php
TextfieldTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php Data provider for testValueCallback().
TextfieldTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php @covers ::valueCallback[[api-linebreak]]
TextFormat::accessDeniedCallback function core/modules/filter/src/Element/TextFormat.php Render API callback: Hides the field value of 'text_format' elements.
TextTrimmedFormatter::trustedCallbacks function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php
TitleCallback class core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php Provides an example title callback for the testDynamicTitle method above.
TitleCallback::example function core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php Gets the example string.
Token::valueCallback function core/lib/Drupal/Core/Render/Element/Token.php
TokenTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php Data provider for testValueCallback().
TokenTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php @covers ::valueCallback[[api-linebreak]]
ToolbarController::trustedCallbacks function core/modules/toolbar/src/Controller/ToolbarController.php
ToolbarLinkBuilder::trustedCallbacks function core/modules/user/src/ToolbarLinkBuilder.php
TrustedCallbackInterface interface core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Interface to declare trusted callbacks.
TrustedCallbackInterface.php file core/lib/Drupal/Core/Security/TrustedCallbackInterface.php
TrustedCallbackInterface::THROW_EXCEPTION constant core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Untrusted callbacks throw exceptions.
TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION constant core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Untrusted callbacks trigger silenced E_USER_DEPRECATION errors.
TrustedCallbackInterface::TRIGGER_WARNING constant core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Untrusted callbacks trigger E_USER_WARNING errors.

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