service avatars.avatar_manager in Avatar Kit 8
Class
Drupal\avatars\AvatarManager10 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.
File
View source
- class: Drupal\avatars\AvatarManager
- arguments:
- - '@config.factory'
- - '@http_client'
- - '@cache_tags.invalidator'
- - '@logger.factory'
- - '@entity_type.manager'
- - '@file.usage'
- - '@plugin.manager.avatar_generator'
- parent: container.trait