final class O365GroupsTeamsConnectForm extends FormBase implements ContainerInjectionInterface

Create the form where we connect groups to MS Teams.

Properties

protected Connection $connection

The database connection.

protected GraphService $graphService

The graph service.

protected Group $group Group.
protected GroupsService $groupsService

The group service.

protected RouteMatchInterface $routeMatch

The route match.

Methods

__construct(GraphService $graphService, GroupsService $groupsService, RouteMatchInterface $routeMatch, Connection $connection)

Constructs a new O365GroupsTeamsConnectForm form.

buildForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

static 
create(ContainerInterface $container)

{@inheritdoc}

getFormId()

{@inheritdoc}

submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Details

at line 66
__construct(GraphService $graphService, GroupsService $groupsService, RouteMatchInterface $routeMatch, Connection $connection)

Constructs a new O365GroupsTeamsConnectForm form.

Parameters

GraphService $graphService

The Microsoft 365 connector graph service.

GroupsService $groupsService

The Microsoft 365 connector group service.

RouteMatchInterface $routeMatch

The route matcher.

Connection $connection

The database connection.

at line 96
buildForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Parameters

array $form
FormStateInterface $form_state

at line 77
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container

at line 89
getFormId()

{@inheritdoc}

at line 119
submitForm(array $form, FormStateInterface $form_state)

{@inheritdoc}

Parameters

array $form
FormStateInterface $form_state