EntityTestMapFieldTest::$mapValue
Same name in other branches
- 9 core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php \Drupal\Tests\jsonapi\Functional\EntityTestMapFieldTest::mapValue
- 8.9.x core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php \Drupal\Tests\jsonapi\Functional\EntityTestMapFieldTest::mapValue
- 10 core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php \Drupal\Tests\jsonapi\Functional\EntityTestMapFieldTest::mapValue
The complex nested value to assign to a @FieldType=map field.
Type: array
File
-
core/
modules/ jsonapi/ tests/ src/ Functional/ EntityTestMapFieldTest.php, line 50
Class
- EntityTestMapFieldTest
- JSON:API integration test for the "EntityTestMapField" content entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected static $mapValue = [
'key1' => 'value',
'key2' => 'no, val you',
'π' => 3.14159,
TRUE => 42,
'nested' => [
'bird' => 'robin',
'doll' => 'Russian',
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.