CheckCompletenessForm
extends FormBase
in package
Verify partner submission completeness.
Table of Contents
Properties
- $database : Connection
- The database connection.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $requireds : array<string|int, mixed>
- Array to collect required fields.
Methods
- __construct() : mixed
- CheckCompletenessForm constructor.
- buildForm() : mixed
- Build form.
- create() : mixed
- Create form.
- getFormId() : string
- Return form id.
- submitForm() : mixed
- Main submit action of the form to check completeness.
- checkAreYouAnEuInstitutionEuBodyEuDecentralisedAgencyEu() : mixed
- Field ewrc_session_eu_type.
- checkDefaultRequiredFields() : mixed
- Default required field (not conditional)
- checkWhatAreTheCommunicationToolsYouAreGoingToUseToReach() : mixed
- Field what_are_the_communication_tools_you_are_going_to_use_to_reach.
Properties
$database
The database connection.
protected
Connection
$database
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$requireds
Array to collect required fields.
private
array<string|int, mixed>
$requireds
= []
Methods
__construct()
CheckCompletenessForm constructor.
public
__construct(EntityTypeManagerInterface $entityTypeManager, Connection $database) : mixed
Parameters
- $entityTypeManager : EntityTypeManagerInterface
-
The entity type manager.
- $database : Connection
-
Database service.
buildForm()
Build form.
public
buildForm(array<string|int, mixed> $form, FormStateInterface $form_state) : mixed
Parameters
- $form : array<string|int, mixed>
- $form_state : FormStateInterface
Tags
create()
Create form.
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
getFormId()
Return form id.
public
getFormId() : string
Return values
stringsubmitForm()
Main submit action of the form to check completeness.
public
submitForm(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
- $form : array<string|int, mixed>
- $form_state : FormStateInterface
Tags
checkAreYouAnEuInstitutionEuBodyEuDecentralisedAgencyEu()
Field ewrc_session_eu_type.
private
checkAreYouAnEuInstitutionEuBodyEuDecentralisedAgencyEu(mixed $wsd) : mixed
Parameters
- $wsd : mixed
checkDefaultRequiredFields()
Default required field (not conditional)
private
checkDefaultRequiredFields(mixed $webform_partner, mixed $programme) : mixed
Parameters
- $webform_partner : mixed
- $programme : mixed
checkWhatAreTheCommunicationToolsYouAreGoingToUseToReach()
Field what_are_the_communication_tools_you_are_going_to_use_to_reach.
private
checkWhatAreTheCommunicationToolsYouAreGoingToUseToReach(mixed $wsd) : mixed
Parameters
- $wsd : mixed