You are here

public function SmsSettingsForm::__construct in SMS Framework 8

Constructs a SmsSettingsForm object.

Parameters

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

\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route builder.

\Drupal\Core\Routing\RequestContext $request_context: The request context.

Overrides ConfigFormBase::__construct

File

src/Form/SmsSettingsForm.php, line 42

Class

SmsSettingsForm
Provides a form for SMS settings.

Namespace

Drupal\sms\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, RouteBuilderInterface $route_builder, RequestContext $request_context) {
  parent::__construct($config_factory);
  $this->routeBuilder = $route_builder;
  $this->requestContext = $request_context;
}