You are here

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

Get the Contributor nickname.

Return value

string Nickname of Contributor.

Overrides ContributorInterface::getNickName

File

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

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getNickName() {
  return $this
    ->get('nick')->value;
}