function CommonDataConverter::rawValue

Same name in other branches
  1. 8.9.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.