You are here

public static function CommonDataConverter::rawValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 23
Contains \Drupal\rdf\CommonDataConverter.

Class

CommonDataConverter
Contains methods for common data conversions.

Namespace

Drupal\rdf

Code

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