public function TransactionOperation::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.
Overrides TransactionOperationInterface::setDescription
File
- src/
Entity/ TransactionOperation.php, line 103
Class
- TransactionOperation
- Transaction operations provide templates that describe transactions.
Namespace
Drupal\transaction\EntityCode
public function setDescription($description = '') {
$this->description = $description;
return $this;
}