mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-12 08:35:17 +00:00
16 lines
270 B
PHP
16 lines
270 B
PHP
<?php
|
|
|
|
namespace PortableInfobox\Sanitizers;
|
|
|
|
class NodeTitleSanitizer extends NodeSanitizer {
|
|
/**
|
|
* @param mixed $data
|
|
* @return mixed
|
|
*/
|
|
public function sanitize( $data ) {
|
|
$data['value'] = $this->sanitizeElementData( $data['value'] );
|
|
|
|
return $data;
|
|
}
|
|
}
|