Issue #2196815 by kirby14: Convert all calls & docs references to check_plain() in core to Drupal\Component\Utility\String::checkPlain() in color module.

8.0.x
Nathaniel Catchpole 2014-02-20 12:09:35 +00:00
parent 68cacfd73a
commit 66fc881cfe
1 changed files with 2 additions and 1 deletions

View File

@ -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,