Tripal
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Drupal\tripal\Form\TripalEntityForm Class Reference
Inheritance diagram for Drupal\tripal\Form\TripalEntityForm:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal\Form\TripalEntityForm:
Collaboration graph
[legend]

Public Member Functions

 __construct (EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, DateFormatterInterface $date_formatter)
 
 buildForm (array $form, FormStateInterface $form_state)
 
 form (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 save (array $form, FormStateInterface $form_state)
 

Static Public Member Functions

static create (ContainerInterface $container)
 

Protected Member Functions

 actions (array $form, FormStateInterface $form_state)
 

Protected Attributes

 $dateFormatter
 

Detailed Description

Form controller for Tripal Content edit forms.

Constructor & Destructor Documentation

◆ __construct()

Drupal\tripal\Form\TripalEntityForm::__construct ( EntityRepositoryInterface  $entity_repository,
EntityTypeBundleInfoInterface  $entity_type_bundle_info,
TimeInterface  $time,
DateFormatterInterface  $date_formatter 
)

Constructs a ContentEntityForm object.

Parameters
\Drupal\Core\Entity\EntityRepositoryInterface$entity_repositoryThe entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface$entity_type_bundle_infoThe entity type bundle service.
\Drupal\Component\Datetime\TimeInterface$timeThe time service.
\Drupal\Core\Datetime\DateFormatterInterface$date_formatterThe date formatter service.

Member Function Documentation

◆ actions()

Drupal\tripal\Form\TripalEntityForm::actions ( array  $form,
FormStateInterface  $form_state 
)
protected
See also
\Drupal\Core\Entity\EntityForm::actions()

◆ buildForm()

Drupal\tripal\Form\TripalEntityForm::buildForm ( array  $form,
FormStateInterface  $form_state 
)

{}

◆ create()

static Drupal\tripal\Form\TripalEntityForm::create ( ContainerInterface  $container)
static

{}

◆ form()

Drupal\tripal\Form\TripalEntityForm::form ( array  $form,
FormStateInterface  $form_state 
)

{}

◆ save()

Drupal\tripal\Form\TripalEntityForm::save ( array  $form,
FormStateInterface  $form_state 
)

{}

◆ validateForm()

Drupal\tripal\Form\TripalEntityForm::validateForm ( array &  $form,
FormStateInterface  $form_state 
)

{}


The documentation for this class was generated from the following file: