You are here

public function ContributorCategoryInterface::setWeight in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Entity/ContributorCategoryInterface.php \Drupal\bibcite_entity\Entity\ContributorCategoryInterface::setWeight()

Set weight of the Contributor category.

Parameters

int $weight: New weight of the Contributor category.

Return value

\Drupal\bibcite_entity\Entity\ContributorCategoryInterface The called Contributor category object.

1 method overrides ContributorCategoryInterface::setWeight()
ContributorCategory::setWeight in modules/bibcite_entity/src/Entity/ContributorCategory.php
Set weight of the Contributor category.

File

modules/bibcite_entity/src/Entity/ContributorCategoryInterface.php, line 29

Class

ContributorCategoryInterface
Provides an interface for defining Contributor category entities.

Namespace

Drupal\bibcite_entity\Entity

Code

public function setWeight($weight);