You are here

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

Get the Contributor last name.

Return value

string Last name of Contributor.

Overrides ContributorInterface::getLastName

File

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

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getLastName() {
  return $this
    ->get('last_name')->value;
}