function CommentLazyBuilders::trustedCallbacks

Same name and namespace in other branches
  1. 9 core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::trustedCallbacks()
  2. 8.9.x core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::trustedCallbacks()
  3. 10 core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/modules/comment/src/CommentLazyBuilders.php, line 236

Class

CommentLazyBuilders
Defines a service for comment #lazy_builder callbacks.

Namespace

Drupal\comment

Code

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

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