public function Flag::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.
Overrides FlagInterface::getBundles
See also
getApplicableBundles()
1 call to Flag::getBundles()
- Flag::getApplicableBundles in src/
Entity/ Flag.php - Get the bundles this flag may be applied to.
File
- src/
Entity/ Flag.php, line 221
Class
- Flag
- Provides the Flag configuration entity.
Namespace
Drupal\flag\EntityCode
public function getBundles() {
return $this->bundles;
}