You are here

public function FlagInterface::getBundles in Flag 8.4

Get the flag bundles property.

Return value

array An array containing the bundles this flag may be applied to. An empty array indicates all bundles are valid.

See also

getApplicableBundles()

1 method overrides FlagInterface::getBundles()
Flag::getBundles in src/Entity/Flag.php
Get the flag bundles property.

File

src/FlagInterface.php, line 72

Class

FlagInterface
Defines the interface for Flag entities.

Namespace

Drupal\flag

Code

public function getBundles();