You are here

public function ContributorCategory::getWeight in Bibliography & Citation 2.0.x

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

Get weight of the Contributor category.

Return value

int Weight of the Contributor category.

Overrides ContributorCategoryInterface::getWeight

File

modules/bibcite_entity/src/Entity/ContributorCategory.php, line 68

Class

ContributorCategory
Defines the Contributor category entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getWeight() {
  return $this
    ->get('weight');
}