You are here

protected function AvatarKitFormAlter::entityPreferenceManager in Avatar Kit 8.2

Get the entity preference manager.

Return value

\Drupal\avatars\AvatarKitEntityPreferenceManagerInterface The entity preference manager.

File

src/AvatarKitFormAlter.php, line 162

Class

AvatarKitFormAlter
Drupal form alters.

Namespace

Drupal\avatars

Code

protected function entityPreferenceManager() : AvatarKitEntityPreferenceManagerInterface {
  return \Drupal::service('avatars.entity_preference');
}