You are here

public function ViewsHandlerInterface::sanitizeValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::sanitizeValue()

Sanitize the value for output.

Parameters

$value: The value being rendered.

$type: The type of sanitization needed. If not provided, \Drupal\Component\Utility\Html::escape() is used.

Return value

\Drupal\views\Render\ViewsRenderPipelineMarkup Returns the safe value.

1 method overrides ViewsHandlerInterface::sanitizeValue()
HandlerBase::sanitizeValue in core/modules/views/src/Plugin/views/HandlerBase.php
Sanitize the value for output.

File

core/modules/views/src/Plugin/views/ViewsHandlerInterface.php, line 81
Contains \Drupal\views\Plugin\views\ViewsHandlerInterface.

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function sanitizeValue($value, $type = NULL);