You are here

protected function EntityField::getEntityContextDataEntityBundleTypes in Entity Field Condition 2.0.x

Get the entity context data entity bundle types.

Return value

array An array of bundle types.

Throws

\Drupal\Component\Plugin\Exception\PluginException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

1 call to EntityField::getEntityContextDataEntityBundleTypes()
EntityField::getEntityContextDataEntityBundleOptions in src/Plugin/Condition/EntityField.php
The entity context data entity bundle options.

File

src/Plugin/Condition/EntityField.php, line 677

Class

EntityField
Define the entity field condition base class.

Namespace

Drupal\entity_field_condition\Plugin\Condition

Code

protected function getEntityContextDataEntityBundleTypes() : array {
  return $this->entityTypeBundleInfo
    ->getBundleInfo($this
    ->getEntityContextDataEntityTypeId());
}