public function FieldInterface::getBundles

Returns the list of bundles where the field has instances.

Return value

array An array keyed by entity type names, whose values are arrays of bundle names.

1 method overrides FieldInterface::getBundles()
Field::getBundles in drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php
Returns the list of bundles where the field has instances.

File

drupal/core/modules/field/lib/Drupal/field/FieldInterface.php, line 70
Contains \Drupal\field\FieldInterface.

Class

FieldInterface
Provides an interface defining a field entity.

Namespace

Drupal\field

Code

public function getBundles();