Completed
Push — 8.x-1.x ( d2ee20...e8a96d )
by Alexandre
02:01
created
src/Form/CropTypeForm.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,8 +173,7 @@
 block discarded – undo
173 173
 
174 174
     if ($status == SAVED_UPDATED) {
175 175
       drupal_set_message($this->t('The crop type %name has been updated.', $t_args));
176
-    }
177
-    elseif ($status == SAVED_NEW) {
176
+    } elseif ($status == SAVED_NEW) {
178 177
       drupal_set_message($this->t('The crop type %name has been added.', $t_args));
179 178
       $context = array_merge($t_args, array('link' => Link::createFromRoute($this->t('View'), 'crop.overview_types')->toString()));
180 179
       $this->logger('crop')->notice('Added crop type %name.', $context);
Please login to merge, or discard this patch.