Skip to content
Snippets Groups Projects

3293558: Mark comparison form as workspace safe

Closed s_leu requested to merge issue/diff-3293558:3293558-compare-in-workspaces into 8.x-1.x
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -306,6 +306,7 @@ class RevisionOverviewForm extends FormBase {
@@ -306,6 +306,7 @@ class RevisionOverviewForm extends FormBase {
'#type' => 'pager',
'#type' => 'pager',
);
);
$build['#attached']['library'][] = 'node/drupal.node.admin';
$build['#attached']['library'][] = 'node/drupal.node.admin';
 
$form_state->set('workspace_safe', TRUE);
return $build;
return $build;
}
}
Loading