Skip to content
Snippets Groups Projects

Issue #3224682: Untranslatable options

2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -34,7 +34,7 @@ class ViewsReferenceSelectWidget extends OptionsSelectWidget {
$selected_views = array_diff($selected_views, ['0']);
$selected_views = $this->getViewNames($selected_views);
if (count($selected_views) >= 1) {
$first_option = ['_none' => '- None -'];
$first_option = ['_none' => $this->t('- None -')];
$select_element['target_id']['#options'] = array_merge($first_option, $selected_views);
}
}
Loading