You are here

public function SmsGatewayForm::__construct in SMS Framework 8

Constructs a new SmsGatewayForm object.

Parameters

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

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

\Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager.

\Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query factory.

\Drupal\sms\Plugin\SmsGatewayPluginManagerInterface $gateway_manager: The gateway manager service.

File

src/Form/SmsGatewayForm.php, line 73

Class

SmsGatewayForm
Form controller for SMS Gateways.

Namespace

Drupal\sms\Form

Code

public function __construct(RouteBuilderInterface $route_builder, RequestContext $request_context, AccessManagerInterface $access_manager, QueryFactory $query_factory, SmsGatewayPluginManagerInterface $gateway_manager) {
  $this->routeBuilder = $route_builder;
  $this->requestContext = $request_context;
  $this->accessManager = $access_manager;
  $this->entityQueryFactory = $query_factory;
  $this->gatewayManager = $gateway_manager;
}