You are here

public function OrderStatus::setName in Ubercart 8.4

Sets the order status name to the given value.

Parameters

string $name: The name of this order status.

Return value

$this

Overrides OrderStatusInterface::setName

File

uc_order/src/Entity/OrderStatus.php, line 80

Class

OrderStatus
Defines the order status entity.

Namespace

Drupal\uc_order\Entity

Code

public function setName($name) {
  $this->name = $name;
  return $this;
}