You are here

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

Gets the Contributor name.

Return value

string Name of the Contributor.

Overrides ContributorInterface::getName

1 call to Contributor::getName()
Contributor::label in modules/bibcite_entity/src/Entity/Contributor.php
Gets the label of the entity.

File

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

Class

Contributor
Defines the Contributor entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}