Search for callback
- Search 7.x for callback
- Search 9.5.x for callback
- Search 8.9.x for callback
- Search 11.x for callback
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Callback | class | core/ |
Passes the source value to a callback. |
| callback | function | core/ |
A test render callback. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| ContentModerationConfigureEntityTypesForm::ajaxCallback | function | core/ |
Ajax callback to close the modal and update the selected text. |
| Custom::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| Datelist::valueCallback | function | core/ |
Validates the date type to adjust 12 hour time and prevent invalid dates. If the date is valid, the date is set in the form. |
| DatelistElementFormTest::datelistDateCallback | function | core/ |
|
| DatelistElementFormTest::datelistDateCallbackTrusted | function | core/ |
|
| DatelistElementFormTest::testDatelistElementUntrustedCallbacks | function | core/ |
Tests that exceptions are raised if untrusted callbacks are used. |
| DatelistElementFormTest::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| Datetime::valueCallback | function | core/ |
Determines how user input is mapped to an element's #value property. |
| DatetimeElementFormTest::datetimeDateCallback | function | core/ |
|
| DatetimeElementFormTest::datetimeDateCallbackTrusted | function | core/ |
|
| DatetimeElementFormTest::datetimeTimeCallback | function | core/ |
|
| DatetimeElementFormTest::datetimeTimeCallbackTrusted | function | core/ |
|
| DatetimeElementFormTest::testDatetimeElementUntrustedCallbacks | function | core/ |
Tests that deprecations are raised if untrusted callbacks are used. |
| DatetimeElementFormTest::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| DisplayPluginBase::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| DoTrustedCallbackTrait | trait | core/ |
Ensures that only predefined methods can be used as callback methods. |
| DoTrustedCallbackTrait.php | file | core/ |
|
| DoTrustedCallbackTrait::doTrustedCallback | function | core/ |
Performs a callback. |
| DoTrustedCallbackTraitTest | class | core/ |
@coversDefaultClass \Drupal\Core\Security\DoTrustedCallbackTrait[[api-linebreak]] @group Security |
| DoTrustedCallbackTraitTest.php | file | core/ |
|
| DoTrustedCallbackTraitTest::errorTypeProvider | function | core/ |
Data provider for tests of ::doTrustedCallback $error_type argument. |
| DoTrustedCallbackTraitTest::providerTestTrustedCallbacks | function | core/ |
Data provider for ::testTrustedCallbacks(). |
| DoTrustedCallbackTraitTest::providerTestUntrustedCallbacks | function | core/ |
Data provider for ::testUntrustedCallbacks(). |
| DoTrustedCallbackTraitTest::testException | function | core/ |
@dataProvider errorTypeProvider |
| DoTrustedCallbackTraitTest::testSilencedDeprecation | function | core/ |
@dataProvider errorTypeProvider @group legacy |
| DoTrustedCallbackTraitTest::testTrustedCallbacks | function | core/ |
@covers ::doTrustedCallback[[api-linebreak]] @dataProvider providerTestTrustedCallbacks |
| DoTrustedCallbackTraitTest::testUntrustedCallbacks | function | core/ |
@covers ::doTrustedCallback[[api-linebreak]] @dataProvider providerTestUntrustedCallbacks |
| DoTrustedCallbackTraitTest::testWarning | function | core/ |
@dataProvider errorTypeProvider @group legacy |
| DriverSpecificTransactionTestBase::$postTransactionCallbackAction | property | core/ |
Keeps track of the post-transaction callback action executed. |
| DriverSpecificTransactionTestBase::rootTransactionCallback | function | core/ |
A post-transaction callback for testing purposes. |
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackAddedWithoutTransaction | function | core/ |
Tests that adding a post-transaction callback fails with no transaction. |
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterDdlAndDestruction | function | core/ |
Tests post-transaction callback executes after a DDL statement. |
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction | function | core/ |
Tests post-transaction callback executes after transaction rollback. |
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledOnCommit | function | core/ |
Tests post-transaction callback executes after transaction commit. |
| DummyAjaxWidget::dummyAjaxCallback | function | core/ |
Ajax callback for Dummy AJAX test. |
| Element::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| ElementInfoTestNumberBuilder::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| EntityAutocomplete::valueCallback | function | core/ |
Determines how user input is mapped to an element's #value property. |
| EntityFieldDefaultValueTest::testDefaultValueCallback | function | core/ |
Tests custom default value callbacks. |
| EntityType::$uri_callback | property | core/ |
A callable that can be used to provide the entity URI. |
| EntityType::getUriCallback | function | core/ |
Gets a callable that can be used to provide the entity URI. |
| EntityType::setUriCallback | function | core/ |
Sets a callable to use to provide the entity URI. |
| EntityTypeInterface::getUriCallback | function | core/ |
Gets a callable that can be used to provide the entity URI. |
| EntityTypeInterface::setUriCallback | function | core/ |
Sets a callable to use to provide the entity URI. |
| EntityUrlTest::providerTestToUrlUriCallback | function | core/ |
Provides data for testToUrlUriCallback(). |
| EntityUrlTest::providerTestToUrlUriCallbackUndefined | function | core/ |
Provides data for testToUrlUriCallbackUndefined(). |
| EntityUrlTest::testToUrlUriCallback | function | core/ |
Tests the toUrl() method with a URI callback. |
| EntityUrlTest::testToUrlUriCallbackUndefined | function | core/ |
Tests the toUrl() method with neither link templates nor a URI callback. |
| EntityViewBuilder::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| EntityViewController::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.