public function ServicesClientPropertyCondition::getSummary in Services Client 7.2
Retrieve configuration summary.
Overrides ServicesClientConditionInterface::getSummary
File
- include/
condition.inc, line 71
Class
- ServicesClientPropertyCondition
- Test property condition of entity against value.
Code
public function getSummary() {
if (empty($this->config['property'])) {
return '[ ' . t('Property condition - not configured') . ' ]';
}
else {
return format_string('<b>@property</b> @condition <b>@value</b>', array(
'@property' => $this->config['property'],
'@condition' => $this->config['condition'],
'@value' => $this->config['value'],
));
}
}