
| Current Path : /var/www/html/german-vocational.cn/core/modules/serialization/src/Normalizer/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/german-vocational.cn/core/modules/serialization/src/Normalizer/MarkupNormalizer.php |
<?php
namespace Drupal\serialization\Normalizer;
/**
* Normalizes MarkupInterface objects into a string.
*/
class MarkupNormalizer extends NormalizerBase {
/**
* The interface or class that this Normalizer supports.
*
* @var array
*/
protected $supportedInterfaceOrClass = ['Drupal\Component\Render\MarkupInterface'];
/**
* {@inheritdoc}
*/
public function normalize($object, $format = NULL, array $context = []) {
return (string) $object;
}
}