You are here

public function Keyword::setName 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::setName()

Sets the Keyword name.

Parameters

string $name: The Keyword name.

Return value

\Drupal\bibcite_entity\Entity\KeywordInterface The called Keyword entity.

Overrides KeywordInterface::setName

File

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

Class

Keyword
Defines the Keyword entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function setName($name) {
  $this
    ->set('name', $name);
  return $this;
}