protected function LingotekContentTranslationForm::getOperationColumnId in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8 src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 8.2 src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 4.0.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.0.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.1.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.2.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.3.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.4.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.5.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.6.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
- 3.7.x src/Form/LingotekContentTranslationForm.php \Drupal\lingotek\Form\LingotekContentTranslationForm::getOperationColumnId()
2 calls to LingotekContentTranslationForm::getOperationColumnId()
- LingotekContentTranslationForm::addOperationLink in src/
Form/ LingotekContentTranslationForm.php - Add an operation to the list of available operations for each language.
- LingotekContentTranslationForm::removeOperationLink in src/
Form/ LingotekContentTranslationForm.php
File
- src/
Form/ LingotekContentTranslationForm.php, line 217
Class
Namespace
Drupal\lingotek\FormCode
protected function getOperationColumnId(ContentEntityInterface $entity, array $option) {
$found = -1;
foreach ($option as $index => $column) {
if (is_array($column) && isset($column['data']) && isset($column['data']['#type']) && $column['data']['#type'] === 'operations') {
$found = $index;
break;
}
}
return $found;
}