public function ViewsHandlerInterface::sanitizeValue in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::sanitizeValue()
- 9 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 call to ViewsHandlerInterface::sanitizeValue()
- PrerenderList::renderItems in core/
modules/ views/ src/ Plugin/ views/ field/ PrerenderList.php - Render all items in this field together.
File
- core/
modules/ views/ src/ Plugin/ views/ ViewsHandlerInterface.php, line 76
Class
- ViewsHandlerInterface
- Provides an interface for all views handlers.
Namespace
Drupal\views\Plugin\viewsCode
public function sanitizeValue($value, $type = NULL);