@@ -173,8 +173,7 @@ |
||
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); |