public function PaymentStatus::setLabel in Payment 8.2
Sets the human-readable label.
Parameters
string $label:
Return value
\Drupal\payment\Entity\PaymentStatusInterface
Overrides PaymentStatusInterface::setLabel
See also
\Drupal\Core\Entity\EntityInterface::label()
File
- src/
Entity/ PaymentStatus.php, line 108
Class
- PaymentStatus
- Defines a payment status entity.
Namespace
Drupal\payment\EntityCode
public function setLabel($label) {
$this->label = $label;
return $this;
}