Array filter callback for filtering untranslatable source data elements.
array $value: Array of values to filter.
string Keys string.
public function filterDataWithFiles(array $value) {
return !(empty($value['#text']) && empty($value['#file']) || isset($value['#translate']) && $value['#translate'] === FALSE);
}