@@ -113,8 +113,7 @@ |
||
113 | 113 | '@second' => $usage[1], |
114 | 114 | '@count' => count($other_image_styles), |
115 | 115 | ]); |
116 | - } |
|
117 | - else { |
|
116 | + } else { |
|
118 | 117 | $usage_message = implode(', ', $usage); |
119 | 118 | } |
120 | 119 | $row['usage']['data']['#markup'] = $usage_message; |
@@ -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); |