diff --git a/src/Plugin/Block/FormsListBlock.php b/src/Plugin/Block/FormsListBlock.php index 14f9b29596525cf08176721ea838644ed0d9777b..f7f74b96b0ba55bd9dcee0d72720fd32626785ab 100644 --- a/src/Plugin/Block/FormsListBlock.php +++ b/src/Plugin/Block/FormsListBlock.php @@ -133,10 +133,8 @@ class FormsListBlock extends BlockBase implements ContainerFactoryPluginInterfac // a link to view all the webforms to the info part of the // render array. if ($total_num_of_results > 50) { - $html = $this->t('@count webforms', ['@count' => $total_num_of_results]); - $html .= '<br />'; - $html .= $this->t('There are more than 50 webforms, <a href="/admin/structure/webform">View all webforms</a>'); - $build['entity_list']['info']['#markup'] = $html; + $build['entity_list']['info']['#markup'] .= $this->t('<br><a href="../admin/structure/webform">View all webforms</a>'); + $build['entity_list']['more_info']['#markup'] = $this->t('<p class="pager__items"><a href="../admin/structure/webform?page=1">Next ›</a></p>'); } // Remove the pager from the webform list.