public function ContributorRoleInterface::setWeight in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Entity/ContributorRoleInterface.php \Drupal\bibcite_entity\Entity\ContributorRoleInterface::setWeight()
Set weight of the Contributor role.
Parameters
int $weight: New weight of the Contributor role.
Return value
\Drupal\bibcite_entity\Entity\ContributorRoleInterface The called Contributor role object.
1 method overrides ContributorRoleInterface::setWeight()
- ContributorRole::setWeight in modules/
bibcite_entity/ src/ Entity/ ContributorRole.php - Set weight of the Contributor role.
File
- modules/
bibcite_entity/ src/ Entity/ ContributorRoleInterface.php, line 29
Class
- ContributorRoleInterface
- Provides an interface for defining Contributor role entities.
Namespace
Drupal\bibcite_entity\EntityCode
public function setWeight($weight);