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

Breadcrumb

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

CommentedEntity::$loadedCommentedEntities

Array of entities that has comments.

We use this to load all the commented entities of same entity type at once to the EntityStorageController static cache.

Type: array

File

core/modules/comment/src/Plugin/views/field/CommentedEntity.php, line 23

Class

CommentedEntity
Views field display for commented entity.

Namespace

Drupal\comment\Plugin\views\field

Code

protected $loadedCommentedEntities = [];
RSS feed
Powered by Drupal