function EntityViewController::trustedCallbacks

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Controller/EntityViewController.php \Drupal\Core\Entity\Controller\EntityViewController::trustedCallbacks()
  2. 8.9.x core/lib/Drupal/Core/Entity/Controller/EntityViewController.php \Drupal\Core\Entity\Controller\EntityViewController::trustedCallbacks()
  3. 10 core/lib/Drupal/Core/Entity/Controller/EntityViewController.php \Drupal\Core\Entity\Controller\EntityViewController::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/lib/Drupal/Core/Entity/Controller/EntityViewController.php, line 170

Class

EntityViewController
Defines a generic controller to render a single entity.

Namespace

Drupal\Core\Entity\Controller

Code

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

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