You are here

protected function LockrRegisterForm::getSiteName in Lockr 8.2

Same name and namespace in other branches
  1. 8.4 src/Form/LockrRegisterForm.php \Drupal\lockr\Form\LockrRegisterForm::getSiteName()
  2. 8.3 src/Form/LockrRegisterForm.php \Drupal\lockr\Form\LockrRegisterForm::getSiteName()
  3. 4.x src/Form/LockrRegisterForm.php \Drupal\lockr\Form\LockrRegisterForm::getSiteName()

Get the human readable name of the site.

1 call to LockrRegisterForm::getSiteName()
LockrRegisterForm::submitForm in src/Form/LockrRegisterForm.php
Form submission handler.

File

src/Form/LockrRegisterForm.php, line 129

Class

LockrRegisterForm

Namespace

Drupal\lockr\Form

Code

protected function getSiteName() {
  return $this->configFactory
    ->get('system.site')
    ->get('name');
}