You are here

public function AddressEventSubscriber::onInitialValues in Quick Node Clone 8

Alters the initial values.

Parameters

\Drupal\address\Event\InitialValuesEvent $event: The initial values event.

File

src/EventSubscriber/AddressEventSubscriber.php, line 138

Class

AddressEventSubscriber
Support for cloning address data.

Namespace

Drupal\quick_node_clone\EventSubscriber

Code

public function onInitialValues(InitialValuesEvent $event) {
  $event
    ->setInitialValues($this
    ->getInitialValues($event));
}