function TestDataConverter::convertFoo
Same name in other branches
- 9 core/modules/rdf/tests/rdf_test/src/TestDataConverter.php \Drupal\rdf_test\TestDataConverter::convertFoo()
Converts data into a string for placement into a content attribute.
Parameters
array $data: The data to be altered and placed in the content attribute.
Return value
string Returns the data.
File
-
core/
modules/ rdf/ tests/ rdf_test/ src/ TestDataConverter.php, line 19
Class
- TestDataConverter
- Contains methods for test data conversions.
Namespace
Drupal\rdf_testCode
public static function convertFoo($data) {
return 'foo' . $data['value'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.