You are here

public function Country::setAddressFormat in Ubercart 8.4

Sets the address format template.

Parameters

string $address_format: A string with placeholders for address elements.

Return value

$this

Overrides CountryInterface::setAddressFormat

File

uc_country/src/Entity/Country.php, line 131

Class

Country
Defines the uc_country type configuration entity.

Namespace

Drupal\uc_country\Entity

Code

public function setAddressFormat($address_format) {
  $this->address_format = $address_format;
  return $this;
}