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