You are here

protected function LingotekManagementForm::getSelectedEntities in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 4.0.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  2. 3.0.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  3. 3.1.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  4. 3.2.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  5. 3.3.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  6. 3.4.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  7. 3.5.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  8. 3.6.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  9. 3.7.x src/Form/LingotekManagementForm.php \Drupal\lingotek\Form\LingotekManagementForm::getSelectedEntities()
  10. 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 328

Class

LingotekManagementForm
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

protected function getSelectedEntities($values) {
  return $this->entityTypeManager
    ->getStorage($this->entityTypeId)
    ->loadMultiple($values);
}