Skip to content
Snippets Groups Projects

Draft: SDC ComponentElement: Transform slots scalar values to #plain_text instead of throwing an exception

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -663,7 +663,7 @@ function template_preprocess_form_element_label(&$variables) {
* // The 'success' parameter means no fatal PHP errors were detected. All
* // other error management should be handled using 'results'.
* if ($success) {
* $message = \Drupal::translation()->formatPlural(count($results), 'One post processed.', '@count posts processed.');
* $message = \Drupal::translation()->formatPlural(count($results), 'One item processed.', '@count items processed.');
* }
* else {
* $message = t('Finished with an error.');
Loading