You are here

public static function CommonDataConverter::rawValue in Drupal 8

Same name and namespace in other branches
  1. 9 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\rdf

Code

public static function rawValue($data) {
  return $data;
}