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
public function setWeight($weight);
Please login to continue.