CommentedEntity::$loadedCommentedEntities
Same name in other branches
- 9 core/modules/comment/src/Plugin/views/field/CommentedEntity.php \Drupal\comment\Plugin\views\field\CommentedEntity::loadedCommentedEntities
- 10 core/modules/comment/src/Plugin/views/field/CommentedEntity.php \Drupal\comment\Plugin\views\field\CommentedEntity::loadedCommentedEntities
- 11.x core/modules/comment/src/Plugin/views/field/CommentedEntity.php \Drupal\comment\Plugin\views\field\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\fieldCode
protected $loadedCommentedEntities = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.