function OliveroPreRender::trustedCallbacks

Same name in other branches
  1. 10 core/themes/olivero/src/OliveroPreRender.php \Drupal\olivero\OliveroPreRender::trustedCallbacks()
  2. 11.x core/themes/olivero/src/OliveroPreRender.php \Drupal\olivero\OliveroPreRender::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/themes/olivero/src/OliveroPreRender.php, line 47

Class

OliveroPreRender
Implements trusted prerender callbacks for the Olivero theme.

Namespace

Drupal\olivero

Code

public static function trustedCallbacks() {
    return [
        'textFormat',
        'messagePlaceholder',
    ];
}

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