protected function LingotekManagementForm::getRows in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.0.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.1.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.2.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.3.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.4.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.5.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.6.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.7.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
- 3.8.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getRows()
Gets the rows for rendering based on the passed entity list.
Parameters
\Drupal\Core\Entity\EntityInterface[] $entity_list:
Return value
array A render array.
Overrides LingotekManagementFormBase::getRows
File
- src/
Form/ LingotekManagementForm.php, line 335
Class
- LingotekManagementForm
- Form for bulk management of content.
Namespace
Drupal\lingotek\FormCode
protected function getRows($entity_list) {
$rows = [];
foreach ($entity_list as $entity_id => $entity) {
$rows[$entity_id] = $this
->getRow($entity);
}
return $rows;
}