TranslatableDataObject::getLocalizedRelation
Get the localized object for a given relation.
Signature
public function getLocalizedRelation(string
$fieldName,
[boolean
$strict = true] )
Parameters
$fieldName
— string- the name of the field without any locale extension. Eg. "Title"
$strict
— boolean- if false, this will fallback to the master version of the field!