public function TypeMapperInterface::getMappedValue in Schemata 8
Convert the data definition property to a JSON Schema form.
Parameters
\Drupal\Core\TypedData\DataDefinitionInterface $property: The data definition property.
Return value
mixed The mapped value to represent the property in a JSON Schema schema.
1 method overrides TypeMapperInterface::getMappedValue()
- TypeMapperBase::getMappedValue in schemata_json_schema/
src/ Plugin/ schemata_json_schema/ type_mapper/ TypeMapperBase.php - Convert the data definition property to a JSON Schema form.
File
- schemata_json_schema/
src/ Plugin/ schemata_json_schema/ type_mapper/ TypeMapperInterface.php, line 21
Class
- TypeMapperInterface
- Defines the extended methods needed for a TypeMapper plugin.
Namespace
Drupal\schemata_json_schema\Plugin\schemata_json_schema\type_mapperCode
public function getMappedValue(DataDefinitionInterface $property);