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

public function setWeight($weight);
doc_Drupal
2016-10-29 09:38:52
Comments
Leave a Comment

Please login to continue.