public function FlowControllerBase::getUsedPools in CMS Content Sync 2.1.x
Get a list of all pools this Flow is using.
Return value
Pool[]
1 call to FlowControllerBase::getUsedPools()
- FlowControllerSimple::getEntityTypeConfig in src/
Controller/ FlowControllerSimple.php - @inheritDoc
File
- src/
Controller/ FlowControllerBase.php, line 215
Class
Namespace
Drupal\cms_content_sync\ControllerCode
public function getUsedPools() {
$result = [];
$pools = Pool::getAll();
foreach ($pools as $id => $pool) {
if ($this
->usesPool($pool)) {
$result[$id] = $pool;
}
}
return $result;
}