You are here

public function AvailableCountriesEvent::setAvailableCountries in Address 8

Sets the available countries.

Parameters

array $available_countries: The available countries to set.

Return value

$this

File

src/Event/AvailableCountriesEvent.php, line 63

Class

AvailableCountriesEvent
Defines the available countries event.

Namespace

Drupal\address\Event

Code

public function setAvailableCountries(array $available_countries) {
  $this->availableCountries = $available_countries;
  return $this;
}