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