function LazyBuilders::trustedCallbacks

Same name in other branches
  1. 10 core/modules/announcements_feed/src/LazyBuilders.php \Drupal\announcements_feed\LazyBuilders::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/modules/announcements_feed/src/LazyBuilders.php, line 89

Class

LazyBuilders
Defines a class for lazy building render arrays.

Namespace

Drupal\announcements_feed

Code

public static function trustedCallbacks() : array {
    return [
        'renderAnnouncements',
    ];
}

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