$columns =
$this->
getAllColumns($table_name);
// We assume finding one field column belonging to the mapping is enough
// to identify the field table.
if (array_intersect($columns,
$field_columns)) { $result =
$table_name;
break;
} } } if (!
isset($result)) { throw new SqlContentEntityStorageException("Table information not available for the '
$field_name' field."
);
} return $result;
} /**
* {@inheritdoc}
*/
public function getAllFieldTableNames($field_name) { return array_keys(array_filter($this->fieldNames,
function D
$table_fields) use ($field_name) { return in_array($field_name,
$table_fields, TRUE
);
}));