Commit d25e7dda authored by alexpott's avatar alexpott

Issue #2317881 by gauravkhambhala | alexpott: Remove $block_counter from template_preprocess_block.

parent c7cce611
......@@ -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'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment