function PlaceholdersTest::trustedCallbacks

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Render/RendererTestBase.php \Drupal\Tests\Core\Render\PlaceholdersTest::trustedCallbacks()
  2. 8.9.x core/tests/Drupal/Tests/Core/Render/RendererTestBase.php \Drupal\Tests\Core\Render\PlaceholdersTest::trustedCallbacks()
  3. 11.x core/tests/Drupal/Tests/Core/Render/RendererTestBase.php \Drupal\Tests\Core\Render\PlaceholdersTest::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/tests/Drupal/Tests/Core/Render/RendererTestBase.php, line 367

Class

PlaceholdersTest

Namespace

Drupal\Tests\Core\Render

Code

public static function trustedCallbacks() {
    return [
        'callbackTagCurrentTemperature',
        'callbackPerUser',
        'callback',
        'callbackNonArrayReturn',
    ];
}

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