public function Shipment::setTitle in Commerce Shipping 8.2
Sets the shipment title.
Parameters
string $title: The shipment title.
Return value
$this
Overrides ShipmentInterface::setTitle
File
- src/
Entity/ Shipment.php, line 228
Class
- Shipment
- Defines the shipment entity class.
Namespace
Drupal\commerce_shipping\EntityCode
public function setTitle($title) {
$this
->set('title', $title);
return $this;
}