You are here

public function ServicesClientPropertyFormatter::getSummary in Services Client 7.2

Get plugin configuration summary.

Return value

string Configuration overview string.

Overrides ServicesClientMappingInterface::getSummary

File

include/mapping.inc, line 518

Class

ServicesClientPropertyFormatter
Formats data to property.

Code

public function getSummary() {
  if (empty($this->config['property'])) {
    return '[PropertyFormatter - not configured]';
  }
  else {
    return "\$object-><b>{$this->config['property']}</b>";
  }
}