protected function AvatarKitWebTestBase::deleteAvatarGenerators in Avatar Kit 8
Delete all existing avatar generator preferences.
1 call to AvatarKitWebTestBase::deleteAvatarGenerators()
- AvatarKitGeneratorTest::testGenerator in tests/
src/ Functional/ AvatarKitGeneratorTest.php - Test avatar generators.
File
- tests/
src/ Functional/ AvatarKitWebTestBase.php, line 87
Class
- AvatarKitWebTestBase
- Avatar Kit web test base.
Namespace
Drupal\Tests\avatars\FunctionalCode
protected function deleteAvatarGenerators() {
$avatar_generators = $this->avatarGeneratorStorage
->loadMultiple();
$this->avatarGeneratorStorage
->delete($avatar_generators);
}