public function Contributor::setMiddleName 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::setMiddleName()
Sets the Contributor middle name.
Parameters
string $middle_name: The Contributor middle name.
Return value
\Drupal\bibcite_entity\Entity\ContributorInterface The called Contributor entity.
Overrides ContributorInterface::setMiddleName
File
- modules/
bibcite_entity/ src/ Entity/ Contributor.php, line 172
Class
- Contributor
- Defines the Contributor entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setMiddleName($middle_name) {
$this
->set('middle_name', $middle_name);
return $this;
}