Commit a60bf77c authored by catch's avatar catch

Issue #2196797 by divesh.kumar: Convert all calls to check_plain() in core to...

Issue #2196797 by divesh.kumar: Convert all calls to check_plain() in core to Drupal\Component\Utility\String::checkPlain() in action module.
parent 0b929939
......@@ -5,12 +5,14 @@
* Provides views runtime hooks for action.module.
*/
use Drupal\Component\Utility\String;
/**
* Implements hook_views_form_substitutions().
*/
function action_views_form_substitutions() {
// Views check_plain()s the column label, so we need to match that.
$select_all_placeholder = check_plain('<!--action-bulk-form-select-all-->');
// Views String::checkPlain()s the column label, so we need to match that.
$select_all_placeholder = String::checkPlain('<!--action-bulk-form-select-all-->');
$select_all = array(
'#type' => 'checkbox',
'#default_value' => FALSE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment