public function ContributorRoleInterface::setWeight in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x 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);