|
| static | create (ContainerInterface $container) |
| |
|
|
StateInterface | $state |
| |
|
TripalStorageManager | $tripal_storage_manager |
| |
|
EntityTypeManagerInterface | $entity_type_manager |
| |
|
TripalJob | $tripal_job_service |
| |
|
AccountInterface | $current_user |
| |
◆ __construct()
| Drupal\tripal\Form\TripalEntityUnpublishMultipleForm::__construct |
( |
StateInterface |
$state, |
|
|
TripalStorageManager |
$tripal_storage_manager, |
|
|
EntityTypeManagerInterface |
$entity_type_manager, |
|
|
TripalJob |
$tripal_job_service, |
|
|
AccountInterface |
$current_user |
|
) |
| |
The constructor.
- Parameters
-
| \Drupal\Core\State\StateInterface | $state | The state of the drupal site providing key => value storage. |
| \Drupal\tripal\TripalStorage\PluginManager\TripalStorageManager | $tripal_storage_manager | The Tripal storage manager. |
| \Drupal\Core\Entity\EntityTypeManagerInterface | $entity_type_manager | The Drupal Entity Type manager. |
| \Drupal\tripal\Services\TripalJob | $tripal_job_service | The Tripal Job service. |
| \Drupal\Core\Session\AccountInterface | $current_user | The current user account. |
◆ buildForm()
| Drupal\tripal\Form\TripalEntityUnpublishMultipleForm::buildForm |
( |
array |
$form, |
|
|
FormStateInterface |
$form_state |
|
) |
| |
◆ create()
| static Drupal\tripal\Form\TripalEntityUnpublishMultipleForm::create |
( |
ContainerInterface |
$container | ) |
|
|
static |
◆ getFormId()
| Drupal\tripal\Form\TripalEntityUnpublishMultipleForm::getFormId |
( |
| ) |
|
◆ storageAjaxCallback()
| Drupal\tripal\Form\TripalEntityUnpublishMultipleForm::storageAjaxCallback |
( |
array & |
$form, |
|
|
FormStateInterface |
$form_state |
|
) |
| |
AJAX callback for storage backend updates.
- Parameters
-
| array | $form | The form array. |
| Drupal\Core\Form\FormStateInterface | $form_state | The form state object. |
- Returns
- array Associative array of storage options.
◆ submitForm()
| Drupal\tripal\Form\TripalEntityUnpublishMultipleForm::submitForm |
( |
array & |
$form, |
|
|
FormStateInterface |
$form_state |
|
) |
| |
◆ validateForm()
| Drupal\tripal\Form\TripalEntityUnpublishMultipleForm::validateForm |
( |
array & |
$form, |
|
|
FormStateInterface |
$form_state |
|
) |
| |
The documentation for this class was generated from the following file:
- tripal/src/Form/TripalEntityUnpublishMultipleForm.php