final class VueMarkup in Decoupled Blocks: Vue.js 8
Defines an object that passes safe strings through the render system.
This object should only be constructed with a known safe string. If there is any risk that the string contains user-entered data that has not been filtered first, it must not be used.
Hierarchy
- class \Drupal\pdb_vue\Render\VueMarkup implements \Drupal\pdb_vue\Render\Countable, MarkupInterface uses MarkupTrait
Expanded class hierarchy of VueMarkup
See also
\Drupal\Core\Template\TwigExtension::escapeFilter
\Drupal\Component\Utility\SafeMarkup
1 file declares its use of VueMarkup
- VueBlock.php in src/
Plugin/ Block/ VueBlock.php
File
- src/
Render/ VueMarkup.php, line 19
Namespace
Drupal\pdb_vue\RenderView source
final class VueMarkup implements MarkupInterface, \Countable {
use MarkupTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MarkupTrait:: |
protected | property | The safe string. | |
MarkupTrait:: |
public | function | Returns the string length. | |
MarkupTrait:: |
public static | function | Creates a Markup object if necessary. | 2 |
MarkupTrait:: |
public | function | Returns a representation of the object for use in JSON serialization. | |
MarkupTrait:: |
public | function | Returns the string version of the Markup object. |