You are here

public function ShippingMethodInterface::setEnabled in Commerce Shipping 8.2

Sets whether the shipping method is enabled.

Parameters

bool $enabled: Whether the shipping method is enabled.

Return value

$this

1 method overrides ShippingMethodInterface::setEnabled()
ShippingMethod::setEnabled in src/Entity/ShippingMethod.php
Sets whether the shipping method is enabled.

File

src/Entity/ShippingMethodInterface.php, line 113

Class

ShippingMethodInterface
Defines the interface for shipping methods.

Namespace

Drupal\commerce_shipping\Entity

Code

public function setEnabled($enabled);