Array filter callback for filtering untranslatable source data elements.
This method only returns translatable text data items, to get both text and files, use Data::filterDataWithFiles().
array $value: Array of values to filter.
string Keys string.
public function filterData(array $value) {
return !(empty($value['#text']) || isset($value['#translate']) && $value['#translate'] === FALSE);
}