public static function CommonDataConverter::rawValue in Drupal 9
Same name and namespace in other branches
- 8 core/modules/rdf/src/CommonDataConverter.php \Drupal\rdf\CommonDataConverter::rawValue()
Provides a passthrough to place unformatted values in content attributes.
Parameters
mixed $data: The data to be placed in the content attribute.
Return value
mixed Returns the data.
File
- core/
modules/ rdf/ src/ CommonDataConverter.php, line 19
Class
- CommonDataConverter
- Contains methods for common data conversions.
Namespace
Drupal\rdfCode
public static function rawValue($data) {
return $data;
}