Révision 503b3f7b
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/entity/views/handlers/entity_views_handler_field_duration.inc | ||
---|---|---|
122 | 122 |
if ($this->options['format_interval']) { |
123 | 123 |
$value = format_interval($value, (int) $this->options['granularity']); |
124 | 124 |
} |
125 |
// Value sanitization is handled by the wrapper, see |
|
126 |
// EntityFieldHandlerHelper::get_value(). |
|
125 | 127 |
return $this->sanitize_value($this->options['prefix'], 'xss') . |
126 |
$this->sanitize_value($value) .
|
|
128 |
$value .
|
|
127 | 129 |
$this->sanitize_value($this->options['suffix'], 'xss'); |
128 | 130 |
} |
129 | 131 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules