You are here

public function fieldable_panels_panes_handler_field_is_current::sanitize_value in Fieldable Panels Panes (FPP) 7

Sanitize the value for output.

Parameters

string $value: The value being rendered.

string $type: The type of sanitization needed. If not provided, check_plain() is used.

Return value

string Returns the safe value.

Overrides views_handler::sanitize_value

File

plugins/views/fieldable_panels_panes_handler_field_is_current.inc, line 91
Provide views handlers for fieldable panel panes.

Class

fieldable_panels_panes_handler_field_is_current
Field handler to display if the revision is current or not.

Code

public function sanitize_value($value, $type = NULL) {
  return filter_xss_admin($value);
}