Retrieves the label of the source object via the source controller.
string The label of the source object.
Overrides JobItemInterface::getSourceLabel
public function getSourceLabel() {
$label = FALSE;
if ($plugin = $this
->getSourcePlugin()) {
$label = $plugin
->getLabel($this);
}
return is_bool($label) ? $label : (string) $label;
}