You are here

public function PaymentMethodConfiguration::setLabel in Payment 8.2

Sets the human-readable label.

Parameters

string $label:

Return value

$this

Overrides PaymentMethodConfigurationInterface::setLabel

See also

\Drupal\Core\Entity\EntityInterface::label()

File

src/Entity/PaymentMethodConfiguration.php, line 180

Class

PaymentMethodConfiguration
Defines a payment method configuration entity.

Namespace

Drupal\payment\Entity

Code

public function setLabel($label) {
  $this->label = $label;
  return $this;
}