mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 04:22:37 +00:00
14 lines
267 B
PHP
14 lines
267 B
PHP
<?php
|
|
|
|
class NodeTitleSanitizer extends NodeSanitizer implements NodeTypeSanitizerInterface {
|
|
/**
|
|
* @param $data
|
|
* @return mixed
|
|
*/
|
|
public function sanitize( $data ) {
|
|
$data[ 'value' ] = $this->sanitizeElementData( $data[ 'value' ] );
|
|
|
|
return $data;
|
|
}
|
|
}
|