static function TestDataConverter::convertFoo in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/rdf/src/Tests/Field/TestDataConverter.php \Drupal\rdf\Tests\Field\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/ src/ Tests/ Field/ TestDataConverter.php, line 23 - Contains \Drupal\rdf\Tests\Field\TestDataConverter.
Class
- TestDataConverter
- Contains methods for test data conversions.
Namespace
Drupal\rdf\Tests\FieldCode
static function convertFoo($data) {
return 'foo' . $data['value'];
}