You are here

public function AuthenticationByUser::getUsername in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 src/Controller/AuthenticationByUser.php \Drupal\cms_content_sync\Controller\AuthenticationByUser::getUsername()
  2. 2.1.x src/Controller/AuthenticationByUser.php \Drupal\cms_content_sync\Controller\AuthenticationByUser::getUsername()

Return value

string

File

src/Controller/AuthenticationByUser.php, line 125

Class

AuthenticationByUser
Class AuthenticationByUser.

Namespace

Drupal\cms_content_sync\Controller

Code

public function getUsername() {
  return $this
    ->getLoginData()[self::KEY_USERNAME];
}