protected function LingotekManagementRelatedEntitiesForm::getFilteredEntities in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 4.0.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.1.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.2.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.3.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.4.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.5.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.6.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.7.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
- 3.8.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::getFilteredEntities()
Gets the entities that needs to be displayed based on the current filters.
Return value
\Drupal\Core\Entity\EntityInterface[] The entities
Overrides LingotekManagementFormBase::getFilteredEntities
File
- src/
Form/ LingotekManagementRelatedEntitiesForm.php, line 207
Class
- LingotekManagementRelatedEntitiesForm
- Form for bulk management of related content.
Namespace
Drupal\lingotek\FormCode
protected function getFilteredEntities() {
// This implies recursion through all the related content.
$visited = [];
$entities = [];
$recursion_depth = $this
->getRecursionDepth();
$entities = $this
->getNestedEntities($this->node, $visited, $entities, $recursion_depth);
return $entities;
}