You are here

protected function LockrRegisterForm::getSiteName in Lockr 4.x

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

Get the human readable name of the site.

1 call to LockrRegisterForm::getSiteName()
LockrRegisterForm::buildForm in src/Form/LockrRegisterForm.php
Form constructor.

File

src/Form/LockrRegisterForm.php, line 180

Class

LockrRegisterForm
Form handler for Lockr registration.

Namespace

Drupal\lockr\Form

Code

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