Loads the structured source data array from the source.
Overrides JobItemInterface::getSourceData
public function getSourceData() {
if ($plugin = $this
->getSourcePlugin()) {
$data = $plugin
->getData($this);
/** @var \Drupal\tmgmt\SegmenterInterface $segmenter */
$segmenter = \Drupal::service('tmgmt.segmenter');
return $segmenter
->getSegmentedData($data);
}
return array();
}