TranslatableDataObject::isLocalizedRelation
Check if the given field name is a localized has_one relation
Signature
public function isLocalizedRelation(string
$fieldName )
Parameters
$fieldName
— string- the name of the relation without any locale extension. Eg. "Attachment"
Returns
- bool