You are here

function rules_link_trim_parameters in Rules Link 7.2

Same name and namespace in other branches
  1. 7 rules_link.module \rules_link_trim_parameters()

Trims a whitespaces from a parameter.

1 string reference to 'rules_link_trim_parameters'
views_handler_field_rules_link::render in ./rules_link.views.inc
Render the field.

File

./rules_link.module, line 216
Rules Link - module file.

Code

function rules_link_trim_parameters(&$value) {
  $value = trim($value);
}