You are here

public function AvatarGeneratorForm::__construct in Avatar Kit 8

Constructs a \Drupal\avatars\Form\AvatarGeneratorForm object.

Parameters

\Drupal\avatars\AvatarGeneratorPluginManagerInterface $avatar_generator: The avatar generator plugin manager.

File

src/Form/AvatarGeneratorForm.php, line 32

Class

AvatarGeneratorForm
Form controller for avatar generator plugin instances.

Namespace

Drupal\avatars\Form

Code

public function __construct(AvatarGeneratorPluginManagerInterface $avatar_generator) {
  $this->avatarGenerator = $avatar_generator;
}