You are here

public static function AjaxLoaderSettingsForm::create in Ajax loader 8

Function to create.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container value.

Return value

static

Overrides ConfigFormBase::create

File

src/Form/AjaxLoaderSettingsForm.php, line 37

Class

AjaxLoaderSettingsForm
Class AjaxLoaderSettingsForm.

Namespace

Drupal\ajax_loader\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.factory'), $container
    ->get('ajax_loader.throbber_manager'));
}