LingotekNoModerationSettingsForm.php in Lingotek Translation 3.6.x
Same filename and directory in other branches
- 8.2 src/Moderation/LingotekNoModerationSettingsForm.php
- 4.0.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.0.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.1.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.2.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.3.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.4.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.5.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.7.x src/Moderation/LingotekNoModerationSettingsForm.php
- 3.8.x src/Moderation/LingotekNoModerationSettingsForm.php
Namespace
Drupal\lingotek\ModerationFile
src/Moderation/LingotekNoModerationSettingsForm.phpView source
<?php
namespace Drupal\lingotek\Moderation;
/**
* Moderation settings form when no other integration applies.
*
* @package Drupal\lingotek\Moderation
*/
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.
}
}
Classes
Name | Description |
---|---|
LingotekNoModerationSettingsForm | Moderation settings form when no other integration applies. |