You are here

public static function MailDebuggerForm::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/MailDebuggerForm.php, line 54

Class

MailDebuggerForm
Class MailDebuggerForm.

Namespace

Drupal\mail_debugger\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('keyvalue'), $container
    ->get('plugin.manager.mail'));
}