You are here

public function AvatarKitServiceInterface::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.

1 method overrides AvatarKitServiceInterface::setWeight()
AvatarKitService::setWeight in src/Entity/AvatarKitService.php
Sets the weight to the given value.

File

src/Entity/AvatarKitServiceInterface.php, line 31

Class

AvatarKitServiceInterface
Defines interface for avatar service entities.

Namespace

Drupal\avatars\Entity

Code

public function setWeight(int $weight) : self;