public function ShippingMethodInterface::setName in Commerce Shipping 8.2
Sets the shipping method name.
Parameters
string $name: The shipping method name.
Return value
$this
1 method overrides ShippingMethodInterface::setName()
- ShippingMethod::setName in src/
Entity/ ShippingMethod.php - Sets the shipping method name.
File
- src/
Entity/ ShippingMethodInterface.php, line 41
Class
- ShippingMethodInterface
- Defines the interface for shipping methods.
Namespace
Drupal\commerce_shipping\EntityCode
public function setName($name);