You are here

public function IFlowController::getPoolsToPushTo in CMS Content Sync 2.1.x

Get a list of all pools that are used for pushing this entity, either automatically or manually selected.

Parameters

string|string[] $reason: {@see Flow::PUSH_*}

string $action: {@see ::ACTION_*}

bool $include_forced: Include forced pools. Otherwise only use-selected / referenced ones.

Return value

Pool[]

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/IFlowController.php, line 102

Class

IFlowController

Namespace

Drupal\cms_content_sync

Code

public function getPoolsToPushTo(EntityInterface $entity, $reason, $action, $include_forced = true);