@@ -125,8 +125,7 @@ discard block |
||
125 | 125 | return [ |
126 | 126 | '#markup' => $this->t('Entity browser select form field not found on a view. <a href=":link">Go fix it</a>!', [':link' => $url]), |
127 | 127 | ]; |
128 | - } |
|
129 | - else { |
|
128 | + } else { |
|
130 | 129 | return [ |
131 | 130 | '#markup' => $this->t('Entity browser select form field not found on a view. Go fix it!'), |
132 | 131 | ]; |
@@ -184,8 +183,7 @@ discard block |
||
184 | 183 | ]); |
185 | 184 | $form_state->setError($form['widget']['view']['entity_browser_select'], $message); |
186 | 185 | } |
187 | - } |
|
188 | - catch (PluginNotFoundException $e) { |
|
186 | + } catch (PluginNotFoundException $e) { |
|
189 | 187 | $message = $this->t('The Entity Type @type does not exist.', [ |
190 | 188 | '@type' => $parts[0], |
191 | 189 | ]); |