You are here

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

Get the Contributor leading initial.

Return value

string Leading initial of Contributor.

Overrides ContributorInterface::getLeadingInitial

File

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

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getLeadingInitial() {
  return $this
    ->get('leading_title')->value;
}