summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2014-02-20 12:06:00 (GMT)
committerNathaniel Catchpole2014-02-20 12:06:00 (GMT)
commita60bf77c63c48d660822617e93c929d585e2c968 (patch)
treedbe4f2b88184f408ba09efcf7d8056988800f2c2
parent0b929939a436819cfd4e0e47243784712746faf3 (diff)
Issue #2196797 by divesh.kumar: Convert all calls to check_plain() in core to Drupal\Component\Utility\String::checkPlain() in action module.
-rw-r--r--core/modules/action/action.views_execution.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/modules/action/action.views_execution.inc b/core/modules/action/action.views_execution.inc
index 859cffd..32bc883 100644
--- a/core/modules/action/action.views_execution.inc
+++ b/core/modules/action/action.views_execution.inc
@@ -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,