Skip to content
Snippets Groups Projects
Commit a317b3ef authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Revert "Issue #1879774 by damiankloip, dawehner, xjm: Catch plugin exceptions...

Revert "Issue #1879774 by damiankloip, dawehner, xjm: Catch plugin exceptions for invalid views display plugins."

This reverts commit db2df2d8.
parent 3041676f
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -142,7 +142,7 @@ public function submitForm(array &$form, array &$form_state) {
$new_fields = $order = array();
// Make an array with the weights
foreach ($form_state['values']['fields'] as $field => $info) {
foreach ($form_state['values'] as $field => $info) {
// add each value that is a field with a weight to our list, but only if
// it has had its 'removed' checkbox checked.
if (is_array($info) && isset($info['weight']) && empty($info['removed'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment