function 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 78
Class
- ViewsHandlerInterface
- Provides an interface for all views handlers.
Namespace
Drupal\views\Plugin\viewsCode
public function sanitizeValue($value, $type = NULL);