You are here

function Basic::setDescription in Payment 8.2

Sets the line item description.

Parameters

string $description:

Return value

\Drupal\payment\Plugin\Payment\LineItem\Basic

1 call to Basic::setDescription()
Basic::submitConfigurationForm in src/Plugin/Payment/LineItem/Basic.php
Form submission handler.

File

src/Plugin/Payment/LineItem/Basic.php, line 120

Class

Basic
A basic line item.

Namespace

Drupal\payment\Plugin\Payment\LineItem

Code

function setDescription($description) {
  $this->configuration['description'] = $description;
  return $this;
}