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 10.3.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
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 Tests label callback.
StaticDiscoveryDecoratorTest::getRegisterDefinitionsCallback function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Helper method to provide a mocked callback object with expectations.
StaticDiscoveryDecoratorTestMockInterface::registerDefinitionsCallback function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Function used in the mocking process of this test.
StaticTrustedCallbackHelper class core/lib/Drupal/Core/Security/StaticTrustedCallbackHelper.php Defines a class for performing trusted callbacks in a static context.
StaticTrustedCallbackHelper.php file core/lib/Drupal/Core/Security/StaticTrustedCallbackHelper.php
StaticTrustedCallbackHelper::callback function core/lib/Drupal/Core/Security/StaticTrustedCallbackHelper.php Performs a callback.
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 Lists the trusted callbacks provided by the implementing class.
Table::valueCallback function core/lib/Drupal/Core/Render/Element/Table.php Determines how user input is mapped to an element's #value property.
Tableselect::valueCallback function core/lib/Drupal/Core/Render/Element/Tableselect.php Determines how user input is mapped to an element's #value property.
TestAccessClass::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTest.php Lists the trusted callbacks provided by the implementing class.
TestAjaxBlock::ajaxCallback function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Ajax callback.
TestCallables::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererTest.php Lists the trusted callbacks provided by the implementing class.
TestInjection3::trustedCallbacks function core/modules/system/tests/modules/autowire_test/src/TestInjection3.php Lists the trusted callbacks provided by the implementing class.
TestPermissionCallbacks class core/modules/user/tests/src/Unit/PermissionHandlerTest.php Provider for testing permissions callbacks.
TestPermissionCallbacks::singleDescription function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Callback that returns a single description.
TestPermissionCallbacks::titleDescription function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Callback that returns the title and description.
TestPermissionCallbacks::titleDescriptionRestrictAccess function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Callback that returns restricted access.
TestPermissionCallbacks::titleProvider function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Callback that returns the title.
TestSiteInstallCommand::$originalShutdownCallbacks property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The original array of shutdown function callbacks.
Textarea::valueCallback function core/lib/Drupal/Core/Render/Element/Textarea.php Determines how user input is mapped to an element's #value property.
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 Tests value callback.
Textfield::valueCallback function core/lib/Drupal/Core/Render/Element/Textfield.php Determines how user input is mapped to an element's #value property.
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 Tests value callback.
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 Lists the trusted callbacks provided by the implementing class.
theme-test-preprocess-callback.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-callback.html.twig {{ foo }}
ThemeTest::testPreprocessCallback function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Ensures that preprocess callbacks can be defined.
ThemeTestController::preprocessCallback function core/modules/system/tests/modules/theme_test/src/ThemeTestController.php Controller for testing callable preprocess functions.
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 value.
Token::valueCallback function core/lib/Drupal/Core/Render/Element/Token.php Determines how user input is mapped to an element's #value property.
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 Tests value callback.
ToolbarController::trustedCallbacks function core/modules/toolbar/src/Controller/ToolbarController.php Lists the trusted callbacks provided by the implementing class.
ToolbarLinkBuilder::trustedCallbacks function core/modules/user/src/ToolbarLinkBuilder.php Lists the trusted callbacks provided by the implementing class.
TransactionManagerBase::$postTransactionCallbacks property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php A list of post-transaction callbacks.
TransactionManagerBase::addPostTransactionCallback function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Adds a root transaction end callback.
TransactionManagerBase::processPostTransactionCallbacks function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Processes the post-transaction callbacks.
TransactionManagerInterface::addPostTransactionCallback function core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php Adds a root transaction end callback.
TransactionTest::$postTransactionCallbackAction property core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Keeps track of the post-transaction callback action executed.
TransactionTest::rootTransactionCallback function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php A post-transaction callback for testing purposes.
TransactionTest::testRootTransactionEndCallbackAddedWithoutTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests that adding a post-transaction callback fails with no transaction.
TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after a DDL statement.
TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndRollbackForTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction rollback executes after a DDL statement.
TransactionTest::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after transaction rollback.

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