public function FlowControllerPerBundle::setPool in CMS Content Sync 2.1.x
Update the Pool usage type across all bundles for the given pool.
**This will not save the Flow.**
Parameters
string $entity_type_name:
string $bundle_name:
string $pool_id:
string $assignment:
Return value
void
File
- src/
Controller/ FlowControllerPerBundle.php, line 218
Class
Namespace
Drupal\cms_content_sync\ControllerCode
public function setPool($entity_type_name, $bundle_name, $pool_id, $assignment) {
$this->flow->per_bundle_settings[$entity_type_name][$bundle_name]['settings'][Flow::TYPE_PUSH === $this->flow->type ? 'export_pools' : 'import_pools'][$pool_id] = $assignment;
}