public function AvatarGenerator::setWeight in Avatar Kit 8
Set weight for the avatar generator.
Parameters
int $weight: Weight for the avatar generator.
Return value
$this
Overrides AvatarGeneratorInterface::setWeight
File
- src/
Entity/ AvatarGenerator.php, line 141
Class
- AvatarGenerator
- Defines storage for an avatar generator configuration.
Namespace
Drupal\avatars\EntityCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}