public function Permissions::__construct in Avatar Kit 8
Constructs the permission generator.
Parameters
\Drupal\avatars\AvatarGeneratorPluginManagerInterface $avatar_generator: The avatar generator plugin manager.
File
- src/
Permissions.php, line 29
Class
- Permissions
- Define a permission generator.
Namespace
Drupal\avatarsCode
public function __construct(AvatarGeneratorPluginManagerInterface $avatar_generator) {
$this->avatarGenerator = $avatar_generator;
}