core/includes/common.inc | 2 +- core/lib/Drupal/Core/Entity/EntityViewBuilder.php | 2 +- .../comment/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/includes/common.inc b/core/includes/common.inc index 1e241ca..ea63043 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -4002,7 +4002,7 @@ function drupal_render_cache_generate_placeholder($callback, array $context, $to } /** - * Generates a unique token for use in a render cache placeholder. + * Generates a unique token for use in a #post_render_cache placeholder. */ function drupal_render_cache_generate_token() { return \Drupal\Component\Utility\Crypt::randomBytesBase64(55); diff --git a/core/lib/Drupal/Core/Entity/EntityViewBuilder.php b/core/lib/Drupal/Core/Entity/EntityViewBuilder.php index e9d1327..4e0736f 100644 --- a/core/lib/Drupal/Core/Entity/EntityViewBuilder.php +++ b/core/lib/Drupal/Core/Entity/EntityViewBuilder.php @@ -229,7 +229,7 @@ public function viewMultiple(array $entities = array(), $view_mode = 'full', $la // Allow modules to change the view mode. $this->moduleHandler->alter('entity_view_mode', $view_mode, $entity, $context); - // Set render defaults. + // Set build defaults. $build[$key] = $this->getBuildDefaults($entity, $view_mode, $langcode); $entityType = $this->entityTypeId; \Drupal::moduleHandler()->alter(array($entityType . '_defaults', 'entity_defaults'), $build[$key], $entity, $view_mode, $langcode); diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php b/core/modules/comment/lib/Drupal/comment/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php index 432c06e..154edf6 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php @@ -247,4 +247,5 @@ public function settingsSummary() { } return array(); } + }