SatisfactionAnalyticsForm
extends FormBase
in package
Statistics form implementing statistics view ajax control.
Table of Contents
Properties
- $entityTypeManager : EntityTypeManagerInterface
- Entity type manager.
- $formBuilder : FormBuilderInterface
- Form Builder.
- $menuHelper : MenuHelper
- Host menuHelper service.
- $satisfactionAnalytics : GetSatisfactionAnalytics
- Get Satisfaction Analytics.
- $satisfactionHelper : SatisfactionHelper
- Helper functions.
Methods
- __construct() : mixed
- StatisticsPage constructor.
- buildForm() : mixed
- {@inheritdoc}
- create() : mixed
- Create container.
- getFormId() : mixed
- {@inheritdoc}
- submitForm() : mixed
- {@inheritdoc}
- updateTable() : mixed
- Ajax callback to update the table based on the selected option.
- validateForm() : mixed
- {@inheritdoc}
- pushPrimarySelect() : mixed
- Push primary select and options.
- pushSecondarySelect() : mixed
- Push secondary select and options.
Properties
$entityTypeManager
Entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$formBuilder
Form Builder.
protected
FormBuilderInterface
$formBuilder
$menuHelper
Host menuHelper service.
protected
MenuHelper
$menuHelper
$satisfactionAnalytics
Get Satisfaction Analytics.
protected
GetSatisfactionAnalytics
$satisfactionAnalytics
$satisfactionHelper
Helper functions.
protected
SatisfactionHelper
$satisfactionHelper
Methods
__construct()
StatisticsPage constructor.
public
__construct(FormBuilderInterface $form_builder, GetSatisfactionAnalytics $satisfactionAnalytics, MenuHelper $menuHelper, SatisfactionHelper $satisfactionHelper) : mixed
Parameters
- $form_builder : FormBuilderInterface
- $satisfactionAnalytics : GetSatisfactionAnalytics
- $menuHelper : MenuHelper
- $satisfactionHelper : SatisfactionHelper
buildForm()
{@inheritdoc}
public
buildForm(array<string|int, mixed> $form, FormStateInterface $form_state) : mixed
Parameters
- $form : array<string|int, mixed>
- $form_state : FormStateInterface
create()
Create container.
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
getFormId()
{@inheritdoc}
public
getFormId() : mixed
submitForm()
{@inheritdoc}
public
submitForm(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
- $form : array<string|int, mixed>
- $form_state : FormStateInterface
updateTable()
Ajax callback to update the table based on the selected option.
public
updateTable(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
- $form : array<string|int, mixed>
- $form_state : FormStateInterface
Tags
validateForm()
{@inheritdoc}
public
validateForm(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
- $form : array<string|int, mixed>
- $form_state : FormStateInterface
pushPrimarySelect()
Push primary select and options.
private
pushPrimarySelect(mixed &$form) : mixed
Parameters
- $form : mixed
pushSecondarySelect()
Push secondary select and options.
private
pushSecondarySelect(mixed &$form) : mixed
Parameters
- $form : mixed