AvatarGeneratorStorage.php in Avatar Kit 8
Namespace
Drupal\avatarsFile
src/AvatarGeneratorStorage.phpView source
<?php
namespace Drupal\avatars;
use Drupal\Core\Config\Entity\ConfigEntityStorage;
/**
* Storage controller for avatar generators.
*/
class AvatarGeneratorStorage extends ConfigEntityStorage implements AvatarGeneratorStorageInterface {
/**
* {@inheritdoc}
*/
public function getEnabledAvatarGenerators() {
$result = $this
->getQuery()
->condition('status', TRUE)
->execute();
return $this
->loadMultiple($result);
}
}
Classes
Name | Description |
---|---|
AvatarGeneratorStorage | Storage controller for avatar generators. |