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
DoTrustedCallbackTraitTest::testUntrustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php @covers ::doTrustedCallback[[api-linebreak]]
@dataProvider providerTestUntrustedCallbacks
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.
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 Lists the trusted callbacks provided by the implementing class.
ElementInfoTestNumberBuilder::trustedCallbacks function core/modules/system/tests/modules/element_info_test/src/ElementInfoTestNumberBuilder.php Lists the trusted callbacks provided by the implementing class.
EntityAutocomplete::valueCallback function core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php Determines how user input is mapped to an element's #value property.
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 Gets a callable that can be used to provide the entity URI.
EntityType::setUriCallback function core/lib/Drupal/Core/Entity/EntityType.php Sets a callable to use to provide the entity URI.
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 Lists the trusted callbacks provided by the implementing class.
EntityViewController::trustedCallbacks function core/lib/Drupal/Core/Entity/Controller/EntityViewController.php Lists the trusted callbacks provided by the implementing class.
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 Returns the default value callback for the field.
FieldConfigBase::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldConfigBase.php Sets a custom default value callback.
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.
FieldDefaultValueCallbackTest class core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php Tests the default value callback.
FieldDefaultValueCallbackTest.php file core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::$defaultTheme property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php The theme to install as the default for testing.
FieldDefaultValueCallbackTest::$fieldName property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php The field name.
FieldDefaultValueCallbackTest::$modules property core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php Modules to install.
FieldDefaultValueCallbackTest::setUp function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldDefaultValueCallbackTest::testDefaultValueCallbackForm function core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php Tests the default value callback functionality for fields.
FieldDefinition::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default value callback for the field.
FieldDefinition::setDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinition.php Set the default value callback for the field.
FieldDefinitionInterface::getDefaultValueCallback function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default value callback for the field.
FieldDefinitionTest::mockDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Provides a Mock base field default value callback.
FieldDefinitionTest::testDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests default value callbacks.
FieldDefinitionTest::testInvalidDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests invalid default value callbacks.
FieldDefinitionTest::testNullDefaultValueCallback function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Tests NULL default value callbacks.

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