public function AvatarKitServicesForm::__construct in Avatar Kit 8.2
Construct a new AvatarKitServicesForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Cache\CacheBackendInterface $preferenceCacheBackend: The avatar service preference cache backend.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AvatarKitServicesForm.php, line 33
Class
- AvatarKitServicesForm
- Configure Avatar Kit services.
Namespace
Drupal\avatars\FormCode
public function __construct(ConfigFactoryInterface $config_factory, CacheBackendInterface $preferenceCacheBackend) {
parent::__construct($config_factory);
$this->preferenceCacheBackend = $preferenceCacheBackend;
}