You are here

public function UsersMapping::getUidFromConfig in Replication 8

Same name and namespace in other branches
  1. 8.2 src/UsersMapping.php \Drupal\replication\UsersMapping::getUidFromConfig()

Returns UID from replication.settings config object.

Return value

int

1 call to UsersMapping::getUidFromConfig()
UsersMapping::mapReferenceField in src/UsersMapping.php
Maps user reference field.

File

src/UsersMapping.php, line 31

Class

UsersMapping

Namespace

Drupal\replication

Code

public function getUidFromConfig() {
  return $this->configFactory
    ->get('replication.settings')
    ->get('uid');
}