PortableInfobox/includes/services/Sanitizers/NodeTitleSanitizer.php

16 lines
268 B
PHP
Raw Normal View History

2015-12-23 14:54:03 +00:00
<?php
namespace PortableInfobox\Sanitizers;
class NodeTitleSanitizer extends NodeSanitizer {
2015-12-23 14:54:03 +00:00
/**
* @param $data
* @return mixed
*/
public function sanitize( $data ) {
$data[ 'value' ] = $this->sanitizeElementData( $data[ 'value' ] );
return $data;
}
}