Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityViewBuilder.php

function EntityViewBuilder::trustedCallbacks

Overrides TrustedCallbackInterface::trustedCallbacks

2 calls to EntityViewBuilder::trustedCallbacks()
NodeViewBuilder::trustedCallbacks in core/modules/node/src/NodeViewBuilder.php
Lists the trusted callbacks provided by the implementing class.
NodeViewBuilder::trustedCallbacks in core/modules/node/src/NodeViewBuilder.php
Lists the trusted callbacks provided by the implementing class.
2 methods override EntityViewBuilder::trustedCallbacks()
BlockViewBuilder::trustedCallbacks in core/modules/block/src/BlockViewBuilder.php
Lists the trusted callbacks provided by the implementing class.
NodeViewBuilder::trustedCallbacks in core/modules/node/src/NodeViewBuilder.php
Lists the trusted callbacks provided by the implementing class.

File

core/lib/Drupal/Core/Entity/EntityViewBuilder.php, line 138

Class

EntityViewBuilder
Base class for entity view builders.

Namespace

Drupal\Core\Entity

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal