protected function LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions in Lingotek Translation 3.1.x
Same name and namespace in other branches
- 8.2 src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 4.0.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.0.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.2.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.3.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.4.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.5.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.6.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.7.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- 3.8.x src/Form/LingotekManagementFormBase.php \Drupal\lingotek\Form\LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
Check if we can delete translation in bulk based on the entity definition.
Return value
bool TRUE if can delete translation in bulk, FALSE if cannot.
1 call to LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- LingotekManagementFormBase::generateBulkOptions in src/
Form/ LingotekManagementFormBase.php - Get the bulk operations for the management form.
2 methods override LingotekManagementFormBase::canHaveDeleteTranslationBulkOptions()
- LingotekJobManagementContentEntitiesForm::canHaveDeleteTranslationBulkOptions in src/
Form/ LingotekJobManagementContentEntitiesForm.php - Check if we can delete translation in bulk based on the entity definition.
- LingotekManagementRelatedEntitiesForm::canHaveDeleteTranslationBulkOptions in src/
Form/ LingotekManagementRelatedEntitiesForm.php - Check if we can delete translation in bulk based on the entity definition.
File
- src/
Form/ LingotekManagementFormBase.php, line 1527
Class
- LingotekManagementFormBase
- Form for bulk management of content.
Namespace
Drupal\lingotek\FormCode
protected function canHaveDeleteTranslationBulkOptions() {
return $this->entityTypeManager
->getDefinition($this->entityTypeId)
->hasLinkTemplate('delete-multiple-form');
}