Commit e219cb95 authored by alexpott's avatar alexpott

Issue #2443847 by cilefen: Remove dead HTML ID-tracking code from ViewPreviewForm

parent 86d2179a
......@@ -25,12 +25,6 @@ public function form(array $form, FormStateInterface $form_state) {
$form['#suffix'] = '</div>';
$form['#id'] = 'views-ui-preview-form';
// Reset the cache of IDs. Drupal rather aggressively prevents ID
// duplication but this causes it to remember IDs that are no longer even
// being used.
$seen_ids_init = &drupal_static('drupal_html_id:init');
$seen_ids_init = array();
$form['controls']['#attributes'] = array('class' => array('clearfix'));
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