You are here

public function Contributor::getLastName 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::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;
}