function EntityViewController::trustedCallbacks

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/Controller/EntityViewController.php \Drupal\Core\Entity\Controller\EntityViewController::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.