1 | <?php |
||
16 | class RemoveLivePreviewAttributes extends AbstractNormalization |
||
17 | { |
||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | protected $queries = [ |
||
22 | '//@* [starts-with(name(), "data-s9e-livepreview-")]', |
||
23 | '//xsl:attribute[starts-with(@name, "data-s9e-livepreview-")]' |
||
24 | ]; |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | protected function normalizeAttribute(DOMAttr $attribute) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | protected function normalizeElement(DOMElement $element) |
||
41 | } |