You are here

public function AddressFormatEvent::setDefinition in Address 8

Sets the address format definition.

Parameters

array $definition: The address format definition.

Return value

$this

File

src/Event/AddressFormatEvent.php, line 50

Class

AddressFormatEvent
Defines the address format event.

Namespace

Drupal\address\Event

Code

public function setDefinition(array $definition) {
  $this->definition = $definition;
  return $this;
}