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

Breadcrumb

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

function CommentLazyBuilders::access

Wraps content_translation_translate_access.

File

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

Class

CommentLazyBuilders
Defines a service for comment #lazy_builder callbacks.

Namespace

Drupal\comment

Code

protected function access(EntityInterface $entity) {
    return content_translation_translate_access($entity);
}

API Navigation

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