protected function LingotekManagementForm::getSelectedEntities in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8.2 src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.0.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.1.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.2.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.3.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.4.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.5.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.6.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.7.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
- 3.8.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
Load the entities corresponding with the given identifiers.
Parameters
string[] $values: Array of values that identify the selected entities.
Return value
\Drupal\Core\Entity\EntityInterface[] The entities.
Overrides LingotekManagementFormBase::getSelectedEntities
File
- src/
Form/ LingotekManagementForm.php, line 351
Class
- LingotekManagementForm
- Form for bulk management of content.
Namespace
Drupal\lingotek\FormCode
protected function getSelectedEntities($values) {
return $this->entityTypeManager
->getStorage($this->entityTypeId)
->loadMultiple($values);
}