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 11.x 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
DisplayPluginBase::trustedCallbacks function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
DoTrustedCallbackTrait trait core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php Ensures that only predefined methods can be used as callback methods.
DoTrustedCallbackTrait.php file core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php
DoTrustedCallbackTrait::doTrustedCallback function core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php Performs a callback.
DoTrustedCallbackTraitTest class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Tests Drupal\Core\Security\DoTrustedCallbackTrait.
DoTrustedCallbackTraitTest.php file core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
DoTrustedCallbackTraitTest::errorTypeProvider function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Data provider for tests of ::doTrustedCallback $error_type argument.
DoTrustedCallbackTraitTest::providerTestTrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Data provider for ::testTrustedCallbacks().
DoTrustedCallbackTraitTest::providerTestUntrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Data provider for ::testUntrustedCallbacks().
DoTrustedCallbackTraitTest::testException function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Tests exception.
DoTrustedCallbackTraitTest::testSilencedDeprecation function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Tests silenced deprecation.
DoTrustedCallbackTraitTest::testTrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Tests trusted callbacks.
DoTrustedCallbackTraitTest::testUntrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Tests untrusted callbacks.
DriverSpecificTransactionTestBase::$postTransactionCallbackAction property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Keeps track of the post-transaction callback action executed.
DriverSpecificTransactionTestBase::rootTransactionCallback function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php A post-transaction callback for testing purposes.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackAddedWithoutTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests that adding a post-transaction callback fails with no transaction.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterDdlAndDestruction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction callback executes after a DDL statement.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterDdlAndRollbackForTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction rollback executes after a DDL statement.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction callback executes after transaction rollback.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledOnCommit function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction callback executes after transaction commit.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackFailureUponDdlAndRollbackForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction rollback failure after a DDL statement.
Drupal\batch_test\BatchInjectionCallbacks service core/modules/system/tests/modules/batch_test/batch_test.services.yml
DummyAjaxWidget::dummyAjaxCallback function core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldWidget/DummyAjaxWidget.php Ajax callback for Dummy AJAX test.
Element::trustedCallbacks function core/modules/editor/src/Element.php
ElementInfoTestNumberBuilder::trustedCallbacks function core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php
EntityAutocomplete::valueCallback function core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
EntityControllerTest::testDeleteEditTitleCallbacks function core/tests/Drupal/Tests/Core/Entity/Controller/EntityControllerTest.php Tests edit and delete title callbacks.
EntityFieldDefaultValueTest::testDefaultValueCallback function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php Tests custom default value callbacks.
EntityReference::getValueOptionsCallback function core/modules/views/src/Plugin/views/filter/EntityReference.php Returns the value options for a select widget.
EntityType::$uri_callback property core/lib/Drupal/Core/Entity/EntityType.php A callable that can be used to provide the entity URI.
EntityType::getUriCallback function core/lib/Drupal/Core/Entity/EntityType.php
EntityType::setUriCallback function core/lib/Drupal/Core/Entity/EntityType.php
EntityTypeInterface::getUriCallback function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets a callable that can be used to provide the entity URI.
EntityTypeInterface::setUriCallback function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets a callable to use to provide the entity URI.
EntityUrlTest::providerTestToUrlUriCallback function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlUriCallback().
EntityUrlTest::providerTestToUrlUriCallbackUndefined function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlUriCallbackUndefined().
EntityUrlTest::testToUrlUriCallback function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with a URI callback.
EntityUrlTest::testToUrlUriCallbackUndefined function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with neither link templates nor a URI callback.
EntityViewBuilder::trustedCallbacks function core/lib/Drupal/Core/Entity/EntityViewBuilder.php
EntityViewController::trustedCallbacks function core/lib/Drupal/Core/Entity/Controller/EntityViewController.php
FieldBlock::formatterSettingsAjaxCallback function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Render API callback: gets the layout settings elements.
FieldBlock::formatterSettingsProcessCallback function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Render API callback: builds the formatter settings elements.
FieldConfigBase::$default_value_callback property core/lib/Drupal/Core/Field/FieldConfigBase.php The name of a callback function that returns default values.
FieldConfigBase::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php
FieldConfigBase::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php
FieldConfigEditForm::addAjaxCallbacks function core/modules/field_ui/src/Form/FieldConfigEditForm.php Add Ajax callback for all inputs.
FieldConfigInterface::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets a custom default value callback.
FieldDefaultValueCallbackProvider class core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php Helper class for \Drupal\Tests\field\Functional\FieldDefaultValueCallbackTest.
FieldDefaultValueCallbackProvider.php file core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php
FieldDefaultValueCallbackProvider::calculateDefaultValue function core/modules/field/tests/modules/field_test/src/FieldDefaultValueCallbackProvider.php Helper callback calculating a default value.

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