You are here

public function InviteConfig::__construct in Invite 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Routing\RouteProvider $routeProvider: The route provider service.

Overrides ConfigFormBase::__construct

File

src/Form/InviteConfig.php, line 33

Class

InviteConfig
Class InviteConfig.

Namespace

Drupal\invite\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, RouteProvider $routeProvider) {
  parent::__construct($config_factory);
  $this->routeProvider = $routeProvider;
}