public function ExportUserData::__construct in Acquia Content Hub 8.2
UsersData constructor.
Parameters
\Drupal\Core\Database\Connection $database: Database connection.
\Drupal\user\UserData $user_data: User Data service.
File
- src/
EventSubscriber/ Cdf/ ExportUserData.php, line 40
Class
- ExportUserData
- Exports user data.
Namespace
Drupal\acquia_contenthub\EventSubscriber\CdfCode
public function __construct(Connection $database, UserData $user_data) {
$this->database = $database;
$this->userData = $user_data;
}