You are here

public function AddForm::__construct in Favorites 8.2

File

src/Form/AddForm.php, line 27
Contains Drupal\favorites\Form\AddForm

Class

AddForm
Class AddForm.

Namespace

Drupal\favorites\Form

Code

public function __construct() {
  $this->account = \Drupal::currentUser();
}