QueueStorageEntitySettingsForm.php in Open Social 10.0.x
Same filename and directory in other branches
- 8.9 modules/custom/social_queue_storage/src/Form/QueueStorageEntitySettingsForm.php
- 8.8 modules/custom/social_queue_storage/src/Form/QueueStorageEntitySettingsForm.php
- 10.3.x modules/custom/social_queue_storage/src/Form/QueueStorageEntitySettingsForm.php
- 10.1.x modules/custom/social_queue_storage/src/Form/QueueStorageEntitySettingsForm.php
- 10.2.x modules/custom/social_queue_storage/src/Form/QueueStorageEntitySettingsForm.php
Namespace
Drupal\social_queue_storage\FormFile
modules/custom/social_queue_storage/src/Form/QueueStorageEntitySettingsForm.phpView source
<?php
namespace Drupal\social_queue_storage\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
/**
* Class QueueStorageEntitySettingsForm.
*
* @ingroup social_queue_storage
*/
class QueueStorageEntitySettingsForm extends FormBase {
/**
* Returns a unique string identifying the form.
*
* @return string
* The unique string identifying the form.
*/
public function getFormId() {
return 'queuestorageentity_settings';
}
/**
* Form submission handler.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
// Empty implementation of the abstract submit class.
}
/**
* Defines the settings form for Queue storage entity entities.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*
* @return array
* Form definition array.
*/
public function buildForm(array $form, FormStateInterface $form_state) {
$form['queuestorageentity_settings']['#markup'] = $this
->t('Settings form for Queue storage entity entities. Manage field settings here.');
return $form;
}
}
Classes
Name | Description |
---|---|
QueueStorageEntitySettingsForm | Class QueueStorageEntitySettingsForm. |