public function AvatarKitService::setWeight in Avatar Kit 8.2
Sets the weight to the given value.
Parameters
int $weight: The desired weight.
Return value
$this This avatar service for chaining.
Overrides AvatarKitServiceInterface::setWeight
File
- src/
Entity/ AvatarKitService.php, line 105
Class
- AvatarKitService
- Defines storage for an avatar service instance.
Namespace
Drupal\avatars\EntityCode
public function setWeight(int $weight) : AvatarKitServiceInterface {
$this->weight = $weight;
return $this;
}