You are here

public function ExternalAuthAuthmapAlterEvent::setData in External Authentication 8

Same name and namespace in other branches
  1. 2.0.x src/Event/ExternalAuthAuthmapAlterEvent.php \Drupal\externalauth\Event\ExternalAuthAuthmapAlterEvent::setData()

Sets the data.

Parameters

mixed $data: Optional extra (serialized) data to store with the authname.

File

src/Event/ExternalAuthAuthmapAlterEvent.php, line 130

Class

ExternalAuthAuthmapAlterEvent
Allow event listeners to alter the authmap data that will get stored.

Namespace

Drupal\externalauth\Event

Code

public function setData($data) {
  $this->data = $data;
}