From d25e7dda7367c274e38b9f61fd75975bc6be0559 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Mon, 11 Aug 2014 08:28:37 -0500 Subject: [PATCH] Issue #2317881 by gauravkhambhala | alexpott: Remove $block_counter from template_preprocess_block. --- core/modules/block/block.module | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/modules/block/block.module b/core/modules/block/block.module index f6a0546c5fd8..78d9fad54b1d 100644 --- a/core/modules/block/block.module +++ b/core/modules/block/block.module @@ -264,8 +264,6 @@ function block_theme_suggestions_block(array $variables) { * Properties used: #block, #configuration, #children, #plugin_id. */ function template_preprocess_block(&$variables) { - $block_counter = &drupal_static(__FUNCTION__, array()); - $variables['configuration'] = $variables['elements']['#configuration']; $variables['plugin_id'] = $variables['elements']['#plugin_id']; $variables['base_plugin_id'] = $variables['elements']['#base_plugin_id']; -- GitLab