You are here

public function TransactionOperationInterface::setDescription in Transaction 8

Sets the operation description template.

Parameters

string $description: (optional) The new description. Empty string if none given.

Return value

\Drupal\transaction\TransactionOperationInterface The called transaction operation.

1 method overrides TransactionOperationInterface::setDescription()
TransactionOperation::setDescription in src/Entity/TransactionOperation.php
Sets the operation description template.

File

src/TransactionOperationInterface.php, line 37

Class

TransactionOperationInterface
Provides an interface defining a transaction operation.

Namespace

Drupal\transaction

Code

public function setDescription($description = '');