More updates to stop using dev or alpha or beta versions.
[yaffs-website] / web / core / modules / rdf / src / Tests / Field / TestDataConverter.php
1 <?php
2
3 namespace Drupal\rdf\Tests\Field;
4
5 /**
6  * Contains methods for test data conversions.
7  */
8 class TestDataConverter {
9
10   /**
11    * Converts data into a string for placement into a content attribute.
12    *
13    * @param array $data
14    *   The data to be altered and placed in the content attribute.
15    *
16    * @return string
17    *   Returns the data.
18    */
19   public static function convertFoo($data) {
20     return 'foo' . $data['value'];
21   }
22
23 }