Returns the list of bundles where the field has instances.
array An array keyed by entity type names, whose values are arrays of bundle names.
Overrides FieldInterface::getBundles
public function getBundles() {
if (empty($this->deleted)) {
$map = field_info_field_map();
if (isset($map[$this->id]['bundles'])) {
return $map[$this->id]['bundles'];
}
}
return array();
}