RoleInterface::setWeight

public RoleInterface::setWeight($weight)

Sets the weight to the given value.

Parameters

int $weight: The desired weight.

Return value

$this

File

core/modules/user/src/RoleInterface.php, line 98

Class

RoleInterface
Provides an interface defining a user role entity.

Namespace

Drupal\user

Code

1
public function setWeight($weight);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.