public function Contributor::setLastName in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Entity/Contributor.php \Drupal\bibcite_entity\Entity\Contributor::setLastName()
Sets the Contributor last name.
Parameters
string $last_name: The Contributor last name.
Return value
\Drupal\bibcite_entity\Entity\ContributorInterface The called Contributor entity.
Overrides ContributorInterface::setLastName
File
- modules/
bibcite_entity/ src/ Entity/ Contributor.php, line 180
Class
- Contributor
- Defines the Contributor entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setLastName($last_name) {
$this
->set('last_name', $last_name);
return $this;
}