You are here

public function ServicesClientMappingPlugin::getSummary in Services Client 7.2

File

include/mapping.inc, line 250

Class

ServicesClientMappingPlugin
Mapping plugin wrapper which represents mapping row.

Code

public function getSummary() {
  if (isset($this->config['reader']) && isset($this->config['formatter'])) {
    return format_string('!reader ==> !formatter', array(
      '!reader' => $this
        ->getReaderSummary(),
      '!formatter' => $this
        ->getFormatterSummary(),
    ));
  }
  else {
    return '[ ' . t('Not configured') . ' ]';
  }
}