Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668
This commit is contained in:
parent
f32e58e4b1
commit
8e18df8c36
3062 changed files with 15044 additions and 172506 deletions
|
|
@ -208,7 +208,7 @@ class CommentLinkBuilder implements CommentLinkBuilderInterface {
|
|||
if ($new_comments > 0) {
|
||||
$page_number = $this->entityManager
|
||||
->getStorage('comment')
|
||||
->getNewCommentPageNumber($entity->{$field_name}->comment_count, $new_comments, $entity);
|
||||
->getNewCommentPageNumber($entity->{$field_name}->comment_count, $new_comments, $entity, $field_name);
|
||||
$query = $page_number ? ['page' => $page_number] : NULL;
|
||||
$value = [
|
||||
'new_comment_count' => (int) $new_comments,
|
||||
|
|
|
|||
Reference in a new issue