You are here

public function Contributor::getPrefix in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Entity/Contributor.php \Drupal\bibcite_entity\Entity\Contributor::getPrefix()

Get the Contributor prefix.

Return value

string Prefix of Contributor.

Overrides ContributorInterface::getPrefix

File

modules/bibcite_entity/src/Entity/Contributor.php, line 134

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getPrefix() {
  return $this
    ->get('prefix')->value;
}