TranslatableDataObject::localized_field
Given a field name and a locale name, create a composite string that represents the field in the database.
Signature
public function localized_field(string
$field,
[string|null
$locale = NULL] )
Parameters
$field
— string- The field name or null to use the current locale
$locale
— object- The locale name or null
Returns
- string