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. Search main for callback
  6. 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
ThemeHooks::trustedCallbacks function core/themes/admin/src/Hook/ThemeHooks.php Lists the trusted callbacks provided by the implementing class.
ThemeHooks::trustedCallbacks function core/themes/default_admin/src/Hook/ThemeHooks.php Lists the trusted callbacks provided by the implementing class.
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.
TitleClosureCallback class core/tests/Drupal/Tests/Core/Controller/TitleClosureCallback.php Provides an example title closure for TitleResolverTest.
TitleClosureCallback.php file core/tests/Drupal/Tests/Core/Controller/TitleClosureCallback.php
TitleClosureCallback::example function core/tests/Drupal/Tests/Core/Controller/TitleClosureCallback.php A controller with a title closure on its route attribute.
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.
TransactionTest::testRootTransactionEndCallbackCalledOnCommit function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after transaction commit.
TransactionTest::testRootTransactionEndCallbackFailureUponDdlAndRollbackForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction rollback failure after a DDL statement.
TrustedCallback class core/lib/Drupal/Core/Security/Attribute/TrustedCallback.php Attribute to tell that a method is a trusted callback.
TrustedCallback.php file core/lib/Drupal/Core/Security/Attribute/TrustedCallback.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::trustedCallbacks function core/lib/Drupal/Core/Security/TrustedCallbackInterface.php Lists the trusted callbacks provided by the implementing class.
TrustedMethods::attributeCallback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php #[TrustedCallback]
TrustedMethods::callback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedMethods::trustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Lists the trusted callbacks provided by the implementing class.
TrustedMethods::unTrustedCallback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedObject::callback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TurtleLazyBuilder::trustedCallbacks function core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php Lists the trusted callbacks provided by the implementing class.
UntrustedCallbackException class core/lib/Drupal/Core/Security/UntrustedCallbackException.php Exception thrown if a callback is untrusted.
UntrustedCallbackException.php file core/lib/Drupal/Core/Security/UntrustedCallbackException.php
UntrustedObject::callback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
Url::trustedCallbacks function core/lib/Drupal/Core/Url.php Lists the trusted callbacks provided by the implementing class.
UrlGeneratorTest::aliasManagerCallback function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Return value callback for getAliasByPath() on the mock alias manager.
UserEntityLabelTest::testLabelCallback function core/modules/user/tests/src/Kernel/UserEntityLabelTest.php Tests label callback.
UserLoginBlock::trustedCallbacks function core/modules/user/src/Plugin/Block/UserLoginBlock.php Lists the trusted callbacks provided by the implementing class.
UserToolbarLinkBuilder::trustedCallbacks function core/modules/toolbar/src/UserToolbarLinkBuilder.php Lists the trusted callbacks provided by the implementing class.
ValueCallbackTestHelper class core/tests/Drupal/KernelTests/Core/Form/ValueCallbackTestHelper.php A non-static #value_callback target, resolved via the class resolver.
ValueCallbackTestHelper.php file core/tests/Drupal/KernelTests/Core/Form/ValueCallbackTestHelper.php
ValueCallbackTestHelper::upperCaseValue function core/tests/Drupal/KernelTests/Core/Form/ValueCallbackTestHelper.php Converts the submitted value to upper case.

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