You are here

protected function AvatarKitEntityField::entityTypeManager in Avatar Kit 8.2

Get the entity type manager.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.

File

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

Class

AvatarKitEntityField
Gets avatar from a field in the same entity.

Namespace

Drupal\avatars\Plugin\Avatars\Service

Code

protected function entityTypeManager() : EntityTypeManagerInterface {
  return \Drupal::service('entity_type.manager');
}