PortableInfobox/services/Sanitizers/NodeTitleSanitizer.php
2015-12-23 15:54:03 +01:00

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;
}
}