O365TeamsSendMessageForm
final class O365TeamsSendMessageForm extends FormBase
Provides an Microsoft 365 - Teams integration form.
Properties
| protected Request|null | $request | The current request. |
|
| protected O365TeamsSendMessageService | $sendMessageService | Our custom message sending service. |
Methods
__construct(O365TeamsSendMessageService $sendMessageService, RequestStack $request)
The form class constructor.
buildForm(array $form, FormStateInterface $form_state)
{@inheritdoc}
static
create(ContainerInterface $container)
{@inheritdoc}
getFormId()
{@inheritdoc}
submitForm(array $form, FormStateInterface $form_state)
{@inheritdoc}
Details
at line 41
__construct(O365TeamsSendMessageService $sendMessageService, RequestStack $request)
The form class constructor.
at line 63
buildForm(array $form, FormStateInterface $form_state)
{@inheritdoc}
at line 49
static
create(ContainerInterface $container)
{@inheritdoc}
at line 56
getFormId()
{@inheritdoc}
at line 123
submitForm(array $form, FormStateInterface $form_state)
{@inheritdoc}