You are here

public function Keyword::getName in Alinks 8

Gets the Keyword name.

Return value

string Name of the Keyword.

Overrides KeywordInterface::getName

File

src/Entity/Keyword.php, line 76

Class

Keyword
Defines the Keyword entity.

Namespace

Drupal\alinks\Entity

Code

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