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\FormCode
public function __construct() {
$this->account = \Drupal::currentUser();
}