You are here

public function Contributor::setNickName 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::setNickName()

Sets the Contributor nickname.

Parameters

string $nick: The Contributor nickname.

Return value

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

Overrides ContributorInterface::setNickName

File

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

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function setNickName($nick) {
  $this
    ->set('nick', $nick);
  return $this;
}