You are here

public function Keyword::getName in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Entity/Keyword.php \Drupal\bibcite_entity\Entity\Keyword::getName()

Gets the Keyword name.

Return value

string Name of the Keyword.

Overrides KeywordInterface::getName

File

modules/bibcite_entity/src/Entity/Keyword.php, line 63

Class

Keyword
Defines the Keyword entity.

Namespace

Drupal\bibcite_entity\Entity

Code

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