function callback
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\callback()
- 10 core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\callback()
- 11.x core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\callback()
A test render callback.
24 string references to 'callback'
- BubbleableMetadataTest::providerTestMerge in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Provides test data for testMerge().
- ConstraintManager::registerDefinitions in core/
lib/ Drupal/ Core/ Validation/ ConstraintManager.php - Callback for registering definitions for constraints shipped with Symfony.
- d6_action.yml in core/
modules/ system/ migrations/ d6_action.yml - core/modules/system/migrations/d6_action.yml
- d6_custom_block_translation.yml in core/
modules/ content_translation/ migrations/ d6_custom_block_translation.yml - core/modules/content_translation/migrations/d6_custom_block_translation.yml
- d6_menu_links.yml in core/
modules/ menu_link_content/ migrations/ d6_menu_links.yml - core/modules/menu_link_content/migrations/d6_menu_links.yml
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ RendererCallbackTest.php, line 86
Namespace
Drupal\Tests\Core\RenderCode
function callback($element = []) {
return $element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.