public function Contributor::setName in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Entity/Contributor.php \Drupal\bibcite_entity\Entity\Contributor::setName()
Sets the Contributor full name.
Full name string will be parsed and another fields will be changed.
Parameters
string $name: Full name sting.
Return value
\Drupal\bibcite_entity\Entity\ContributorInterface The called Contributor entity.
Overrides ContributorInterface::setName
File
- modules/
bibcite_entity/ src/ Entity/ Contributor.php, line 148
Class
- Contributor
- Defines the Contributor entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}