You are here

service avatars.avatar_manager in Avatar Kit 8

Class

Drupal\avatars\AvatarManager
10 string references to avatars.avatar_manager
AvatarGeneratorPreviewWidget::formElement in src/Plugin/Field/FieldWidget/AvatarGeneratorPreviewWidget.php
Returns the form for a single field widget.
AvatarKitGeneratorTest::testAnonymous in tests/src/Functional/AvatarKitGeneratorTest.php
Ensure requesting avatar for anonymous does not crash the site.
AvatarKitGeneratorTest::testFileIsAvatarPreview in tests/src/Functional/AvatarKitGeneratorTest.php
Tests whether a file is matched with an avatar preview.
AvatarKitGeneratorTest::testFileNotAvatarPreview in tests/src/Functional/AvatarKitGeneratorTest.php
Tests whether a file is not matched with an avatar preview.
AvatarKitGeneratorTest::testGenerator in tests/src/Functional/AvatarKitGeneratorTest.php
Test avatar generators.

... See full list

File

./avatars.services.yml
avatars.services.yml

View source
  1. class: Drupal\avatars\AvatarManager
  2. arguments:
  3. - '@config.factory'
  4. - '@http_client'
  5. - '@cache_tags.invalidator'
  6. - '@logger.factory'
  7. - '@entity_type.manager'
  8. - '@file.usage'
  9. - '@plugin.manager.avatar_generator'
  10. parent: container.trait