public function AvatarKitCommonService::defaultConfiguration in Avatar Kit 8.2
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides AvatarKitServiceBase::defaultConfiguration
File
- src/
Plugin/ Avatars/ Service/ AvatarKitCommonService.php, line 172
Class
- AvatarKitCommonService
- Automatically creates services based on plugins from Avatar Kit library.
Namespace
Drupal\avatars\Plugin\Avatars\ServiceCode
public function defaultConfiguration() : array {
$configuration = parent::defaultConfiguration();
$configuration['width'] = NULL;
$configuration['height'] = NULL;
$configuration['protocol'] = NULL;
return $configuration;
}