public function PackageInterface::setPackageType in Ubercart 8.4
Sets the package type to the given value.
Parameters
string $pkg_type: The name of the package type.
Return value
$this
1 method overrides PackageInterface::setPackageType()
- Package::setPackageType in shipping/
uc_fulfillment/ src/ Package.php - Sets the package type to the given value.
File
- shipping/
uc_fulfillment/ src/ PackageInterface.php, line 72
Class
- PackageInterface
- Provides an interface that defines the Package class.
Namespace
Drupal\uc_fulfillmentCode
public function setPackageType($pkg_type);