$field->esc()
Alias for Kirby\Content\Field::escape()
$field->esc(string $context = 'html'): Field
Parameters
| Name | Type | Default |
|---|---|---|
| $context | string |
'html'
|
Return type
This method does not modify the existing $field object but returns a new object with the changes applied. Learn more →