You are here

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

Get the Contributor middle name.

Return value

string Middle name of Contributor.

Overrides ContributorInterface::getMiddleName

File

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

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getMiddleName() {
  return $this
    ->get('middle_name')->value;
}