public function getEagerLoadingMap($sourceElements)
{
$sourceElementIds = [];
foreach ($sourceElements as $sourceElement) {
$sourceElementIds[] = $sourceElement->id;
}
// Return any relation data on these elements, defined with this field
$map = craft()->db->createCommand()->select('ownerId as source, id as target')->from('neoblocks')->where(['and', 'fieldId=:fieldId', ['in', 'ownerId', $sourceElementIds]], [':fieldId' => $this->model->id])->queryAll();
return ['elementType' => Neo_ElementType::NeoBlock, 'map' => $map, 'criteria' => ['fieldId' => $this->model->id]];
}