You are here

public function ServicesClientMappingFormatterInterface::format in Services Client 7.2

Format source value.

Parameters

ServicesClientMappingValue $source: Source value gathered by Reader plugin.

Return value

array Array with formatted value and structure array('key' => 'name', 'value' => 'value')

2 methods override ServicesClientMappingFormatterInterface::format()
ServicesClientFieldFormatter::format in include/mapping.inc
Format source value to destination.
ServicesClientPropertyFormatter::format in include/mapping.inc
Format source value to destination.

File

include/mapping.inc, line 42

Class

ServicesClientMappingFormatterInterface

Code

public function format(ServicesclientMappingValue $source);