public function Keyword::setName in Alinks 8
Sets the Keyword name.
Parameters
string $name: The Keyword name.
Return value
\Drupal\alinks\Entity\KeywordInterface The called Keyword entity.
Overrides KeywordInterface::setName
File
- src/
Entity/ Keyword.php, line 83
Class
- Keyword
- Defines the Keyword entity.
Namespace
Drupal\alinks\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}