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 11.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
PrepareCallbackTestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form validation handler.
ProcessingTest::testBatchRedirectFinishedCallback function core/modules/system/tests/src/Functional/Batch/ProcessingTest.php Tests batches that redirect in the batch finished callback.
Radios::valueCallback function core/lib/Drupal/Core/Render/Element/Radios.php Determines how user input is mapped to an element's #value property.
Range::valueCallback function core/lib/Drupal/Core/Render/Element/Range.php Determines how user input is mapped to an element's #value property.
RecursiveExtensionFilterCallback class core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterCallback.php Filters a RecursiveDirectoryIterator to discover extensions.
RecursiveExtensionFilterCallback.php file core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterCallback.php
RecursiveExtensionFilterCallback::$allowedExtensionTypes property core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterCallback.php List of base extension type directory names to scan.
RecursiveExtensionFilterCallback::$skippedFolders property core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterCallback.php List of directory names to skip when recursing.
RecursiveExtensionFilterCallback::accept function core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterCallback.php Checks whether a given filesystem directory is acceptable.
RecursiveExtensionFilterCallback::__construct function core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterCallback.php Construct a RecursiveExtensionFilterCallback.
RecursivePlaceholdersTest::callback function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php #lazy_builder callback; bubbles another placeholder.
RecursivePlaceholdersTest::trustedCallbacks function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Lists the trusted callbacks provided by the implementing class.
RenderCallbackInterface interface core/lib/Drupal/Core/Render/Element/RenderCallbackInterface.php Indicates all public methods are safe to use in render callbacks.
RenderCallbackInterface.php file core/lib/Drupal/Core/Render/Element/RenderCallbackInterface.php
RenderCallbacks class core/modules/announcements_feed/src/RenderCallbacks.php Defines a class for render callbacks.
RenderCallbacks class core/modules/navigation/src/RenderCallbacks.php Defines a class for render element callbacks.
RenderCallbacks.php file core/modules/announcements_feed/src/RenderCallbacks.php
RenderCallbacks.php file core/modules/navigation/src/RenderCallbacks.php
RenderCallbacks::alterLayoutBuilder function core/modules/navigation/src/RenderCallbacks.php Pre-render callback for layout builder.
RenderCallbacks::removeTabAttributes function core/modules/announcements_feed/src/RenderCallbacks.php Render callback.
RenderCallbacks::trustedCallbacks function core/modules/announcements_feed/src/RenderCallbacks.php Lists the trusted callbacks provided by the implementing class.
Renderer::doCallback function core/lib/Drupal/Core/Render/Renderer.php Performs a callback.
RendererCallbackTest class core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php @coversDefaultClass \Drupal\Core\Render\Renderer[[api-linebreak]]
@group Render
RendererCallbackTest.php file core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php
RendererCallbackTest::providerTestCallback function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php Data provider for testCallback().
RendererCallbackTest::renderCallback function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php A test render callback.
RendererCallbackTest::setUp function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php
RendererCallbackTest::testCallback function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php Tests the expected deprecations are triggered by Renderer::doCallback().
RendererCallbackTest::__invoke function core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php Implements magic method as a render callback.
RendererPlaceholdersTest::testNonScalarLazyBuilderCallbackContext function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render[[api-linebreak]]
@covers ::doRender[[api-linebreak]]
RendererPlaceholdersTest::testScalarLazyBuilderCallbackContext function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render[[api-linebreak]]
@covers ::doRender[[api-linebreak]]
RendererTest::testRenderWithAccessCallbackCallable function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render[[api-linebreak]]
@covers ::doRender[[api-linebreak]]
RendererTest::testRenderWithAccessPropertyAndCallback function core/tests/Drupal/Tests/Core/Render/RendererTest.php Ensures that the #access property wins over the callable.
RenderPlaceholderMessageTestController::trustedCallbacks function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php Lists the trusted callbacks provided by the implementing class.
RouteProcessorCsrf::trustedCallbacks function core/lib/Drupal/Core/Access/RouteProcessorCsrf.php Lists the trusted callbacks provided by the implementing class.
ScanDirectoryTest::testOptionCallback function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check that the callback function is called correctly.
Select::valueCallback function core/lib/Drupal/Core/Render/Element/Select.php Determines how user input is mapped to an element's #value property.
ShortcutLazyBuilder::trustedCallbacks function core/modules/navigation/src/ShortcutLazyBuilder.php Lists the trusted callbacks provided by the implementing class.
ShortcutLazyBuilders::trustedCallbacks function core/modules/shortcut/src/ShortcutLazyBuilders.php Lists the trusted callbacks provided by the implementing class.
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 @covers ::labelCallback[[api-linebreak]]
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.

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