Skip to content
Snippets Groups Projects
Commit d25e7dda authored by Alex Pott's avatar Alex Pott
Browse files

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

parent c7cce611
No related branches found
No related tags found
No related merge requests found
...@@ -264,8 +264,6 @@ function block_theme_suggestions_block(array $variables) { ...@@ -264,8 +264,6 @@ function block_theme_suggestions_block(array $variables) {
* Properties used: #block, #configuration, #children, #plugin_id. * Properties used: #block, #configuration, #children, #plugin_id.
*/ */
function template_preprocess_block(&$variables) { function template_preprocess_block(&$variables) {
$block_counter = &drupal_static(__FUNCTION__, array());
$variables['configuration'] = $variables['elements']['#configuration']; $variables['configuration'] = $variables['elements']['#configuration'];
$variables['plugin_id'] = $variables['elements']['#plugin_id']; $variables['plugin_id'] = $variables['elements']['#plugin_id'];
$variables['base_plugin_id'] = $variables['elements']['#base_plugin_id']; $variables['base_plugin_id'] = $variables['elements']['#base_plugin_id'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment