You are here

public function HomeboxPageForm::__construct in Homebox 8

HomeboxPageForm constructor.

Parameters

\Drupal\Core\Session\AccountInterface $account: Current user account entity.

\Symfony\Component\Serializer\Serializer $serializer: Serializer service.

File

src/Form/HomeboxPageForm.php, line 47

Class

HomeboxPageForm
Class HomeboxPageForm.

Namespace

Drupal\homebox\Form

Code

public function __construct(AccountInterface $account, Serializer $serializer) {
  $this->account = $account;
  $this->serializer = $serializer;
}