public function getAllMnReferences()
{
$mnReferences = [];
foreach ($this->getAllEntityNames() as $entityName) {
$entityInfo = $this->getEntityInfo($entityName);
if (!$entityInfo->mnReferences) {
continue;
}
foreach ($entityInfo->mnReferences as $reference => $targetEntity) {
if ($entityInfo->isVirtualReference($reference)) {
continue;
}
$mnReferences[] = ReferenceUtils::getMnReferenceDetails($this, $entityName, $reference);
}
}
return $mnReferences;
}