Coming from #2030293: View preview is broken in UI if a pager has to be displayed, comment #36.

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/Full.phpundefined
@@ -90,13 +89,13 @@ function render($input) {
+      '#theme' => $this->view->buildThemeFunctions('pager'),
As a follow up I would suggest to use $this->themeFunctions which would require a "theme = 'pager' and register_theme = FALSE" in the annotation.

Comments

mondrake’s picture

Status: Active » Needs review
StatusFileSize
new1.04 KB

Patch.

mondrake’s picture

Issue tags: +VDC

tagging VDC

mondrake’s picture

Status: Needs review » Needs work

The last submitted patch, 2042941-full_plugin_theme_annotation-3.patch, failed testing.

mondrake’s picture

Status: Needs work » Needs review
StatusFileSize
new623 bytes
new992 bytes

Oops

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Small but quite helpful if other peoples want to reuse the class.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed a09093b and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.