You are here

protected function AvatarKitEntityField::entityTypeBundleInfo in Avatar Kit 8.2

Get the entity type bundle info service.

Return value

\Drupal\Core\Entity\EntityTypeBundleInfoInterface The entity type bundle info service.

File

src/Plugin/Avatars/Service/AvatarKitEntityField.php, line 180

Class

AvatarKitEntityField
Gets avatar from a field in the same entity.

Namespace

Drupal\avatars\Plugin\Avatars\Service

Code

protected function entityTypeBundleInfo() : EntityTypeBundleInfoInterface {
  return \Drupal::service('entity_type.bundle.info');
}