You are here

protected function AvatarKitEntityField::entityFieldManager in Avatar Kit 8.2

Get the entity field manager.

Return value

\Drupal\Core\Entity\EntityFieldManagerInterface The entity field manager.

File

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

Class

AvatarKitEntityField
Gets avatar from a field in the same entity.

Namespace

Drupal\avatars\Plugin\Avatars\Service

Code

protected function entityFieldManager() : EntityFieldManagerInterface {
  return \Drupal::service('entity_field.manager');
}