TranslatableDataObject::getBasename
Given a translatable field name, pull out the locale and return the raw field name.
ex: "Description__fr_FR" -> "Description"
Signature
protected function getBasename(string
$field )
Parameters
$field
— string- The name of the translated field
Returns
- string