function callback in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\callback()
- 9 core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\callback()
A test render callback.
107 string references to 'callback'
- Action::fields in core/
modules/ system/ src/ Plugin/ migrate/ source/ Action.php - Returns available fields on the source.
- ActionAjaxTest::buildConfigurationForm in core/
modules/ action/ tests/ action_form_ajax_test/ src/ Plugin/ Action/ ActionAjaxTest.php - Form constructor.
- ActionTest::providerSource in core/
modules/ system/ tests/ src/ Kernel/ Plugin/ migrate/ source/ ActionTest.php - The data provider.
- AddFormBase::buildActions in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Returns an array of supported actions for the form.
- AddFormBase::buildEntityFormElement in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Builds the sub-form for setting required fields on a new media item.
File
- core/
tests/ Drupal/ Tests/ Core/ Render/ RendererCallbackTest.php, line 86
Namespace
Drupal\Tests\Core\RenderCode
function callback($element = []) {
return $element;
}