You are here

public function LingotekNoModerationSettingsForm::needsColumn in Lingotek Translation 3.3.x

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

Checks if there is a need for a moderation column.

Parameters

string $entity_type_id: The entity type id.

Return value

bool If the entity is enabled for moderation, return TRUE. FALSE otherwise.

Overrides LingotekModerationSettingsFormInterface::needsColumn

File

src/Moderation/LingotekNoModerationSettingsForm.php, line 24

Class

LingotekNoModerationSettingsForm
Moderation settings form when no other integration applies.

Namespace

Drupal\lingotek\Moderation

Code

public function needsColumn($entity_type_id) {
  return FALSE;
}