diff --git a/core/modules/color/color.module b/core/modules/color/color.module index aaf0ba6f20b552bce2a4bb390aef26700a4b5d1a..8a54e5558ca0ab77ffd8e370ef4362c824b91424 100644 --- a/core/modules/color/color.module +++ b/core/modules/color/color.module @@ -5,6 +5,7 @@ */ use Drupal\Core\Asset\CssOptimizer; +use Drupal\Component\Utility\String; /** * Implements hook_help(). @@ -214,7 +215,7 @@ function color_scheme_form($complete_form, &$form_state, $theme) { if (isset($names[$name])) { $form['palette'][$name] = array( '#type' => 'textfield', - '#title' => check_plain($names[$name]), + '#title' => String::checkPlain($names[$name]), '#value_callback' => 'color_palette_color_value', '#default_value' => $value, '#size' => 8,