You are here

public static function UsermailDebuggerForm::create in Mail Debugger 8

Instantiates a new instance of this class.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container this instance should use.

Overrides FormBase::create

File

src/Form/UsermailDebuggerForm.php, line 71

Class

UsermailDebuggerForm
Class UsermailDebuggerForm.

Namespace

Drupal\mail_debugger\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('tempstore.private'), $container
    ->get('entity_type.manager'), $container
    ->get('config.factory'));
}