You are here

class LingotekNoModerationSettingsForm in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8.2 src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  2. 4.0.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  3. 3.0.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  4. 3.1.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  5. 3.2.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  6. 3.3.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  7. 3.5.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  8. 3.6.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  9. 3.7.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm
  10. 3.8.x src/Moderation/LingotekNoModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm

Moderation settings form when no other integration applies.

@package Drupal\lingotek\Moderation

Hierarchy

Expanded class hierarchy of LingotekNoModerationSettingsForm

1 string reference to 'LingotekNoModerationSettingsForm'
lingotek.services.yml in ./lingotek.services.yml
lingotek.services.yml
1 service uses LingotekNoModerationSettingsForm
lingotek.no_moderation_form in ./lingotek.services.yml
Drupal\lingotek\Moderation\LingotekNoModerationSettingsForm

File

src/Moderation/LingotekNoModerationSettingsForm.php, line 10

Namespace

Drupal\lingotek\Moderation
View source
class LingotekNoModerationSettingsForm implements LingotekModerationSettingsFormInterface {
  use LingotekNoModerationCheckTrait;

  /**
   * {@inheritdoc}
   */
  public function getColumnHeader() {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function needsColumn($entity_type_id) {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function getModerationUploadStatuses($entity_type_id, $bundle) {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function getDefaultModerationUploadStatus($entity_type_id, $bundle) {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function getModerationDownloadTransitions($entity_type_id, $bundle) {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function getDefaultModerationDownloadTransition($entity_type_id, $bundle) {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function form($entity_type_id, $bundle) {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function submitHandler($entity_type_id, $bundle, array $form_values) {

    // Do nothing.
  }

}

Members

Namesort descending Modifiers Type Description Overrides
LingotekNoModerationCheckTrait::$moduleHandler protected property The module handler service.
LingotekNoModerationCheckTrait::applies public function
LingotekNoModerationCheckTrait::setModuleHandler public function
LingotekNoModerationSettingsForm::form public function Gets the subform for configuring the settings for a given bundle. Overrides LingotekModerationSettingsFormInterface::form
LingotekNoModerationSettingsForm::getColumnHeader public function Gets the column header title. Overrides LingotekModerationSettingsFormInterface::getColumnHeader
LingotekNoModerationSettingsForm::getDefaultModerationDownloadTransition public function Gets the default transition. Overrides LingotekModerationSettingsFormInterface::getDefaultModerationDownloadTransition
LingotekNoModerationSettingsForm::getDefaultModerationUploadStatus public function Gets the default upload status. Overrides LingotekModerationSettingsFormInterface::getDefaultModerationUploadStatus
LingotekNoModerationSettingsForm::getModerationDownloadTransitions public function Gets the default download transition. Overrides LingotekModerationSettingsFormInterface::getModerationDownloadTransitions
LingotekNoModerationSettingsForm::getModerationUploadStatuses public function Gets the moderation statuses. Overrides LingotekModerationSettingsFormInterface::getModerationUploadStatuses
LingotekNoModerationSettingsForm::needsColumn public function Checks if there is a need for a moderation column. Overrides LingotekModerationSettingsFormInterface::needsColumn
LingotekNoModerationSettingsForm::submitHandler public function Submit handler for saving the settings for a given bundle. Overrides LingotekModerationSettingsFormInterface::submitHandler