You are here

public function BadgeInterface::setBadgeWeight in User Badges 8

Sets the Badge weight.

Parameters

string $weight: The Badge weight.

Return value

\Drupal\user_badges\BadgeInterface The called Badge entity.

1 method overrides BadgeInterface::setBadgeWeight()
Badge::setBadgeWeight in src/Entity/Badge.php
Sets the Badge weight.

File

src/BadgeInterface.php, line 64
Contains \Drupal\user_badges\BadgeInterface.

Class

BadgeInterface
Provides an interface for defining Badge entities.

Namespace

Drupal\user_badges

Code

public function setBadgeWeight($weight);