You are here

public function Contributor::setSuffix in Bibliography & Citation 2.0.x

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

Sets the Contributor suffix.

Parameters

string $suffix: The Contributor suffix.

Return value

\Drupal\bibcite_entity\Entity\ContributorInterface The called Contributor entity.

Overrides ContributorInterface::setSuffix

File

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

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function setSuffix($suffix) {
  $this
    ->set('suffix', $suffix);
  return $this;
}