public function CorrespondingReference::setLabel in Corresponding Entity References 8.4
Sets the corresponding reference label.
Parameters
string $label: The label.
Return value
$this
Overrides CorrespondingReferenceInterface::setLabel
File
- src/
Entity/ CorrespondingReference.php, line 131
Class
- CorrespondingReference
- Defines a corresponding reference entity.
Namespace
Drupal\cer\EntityCode
public function setLabel($label) {
$this->label = $label;
return $this;
}