In order to require area handlers to implement the render method, as it's always helpful
this method should be marked as abstract.

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB
xjm’s picture

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Title.phpundefined
@@ -58,4 +58,12 @@ public function preRender(array $results) {
+  /**
+   * Implements \Drupal\views\Plugins\views\area\AreaPluginBase::render();
+   */
+  public function render($empty = FALSE) {
+    // Do nothing for this handler.
+  }
+
+
 }

Extra blank line at the end there.

no_commit_credit’s picture

StatusFileSize
new1.16 KB

Just removing the extra blank line.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

So that's RTBC?

damiankloip’s picture

That looks just fine to me.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

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