You are here

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

Ask this Flow whether or not it can push the given entity.

Parameters

string|string[] $reason:

string $action:

null|Pool $pool:

Return value

bool

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/IFlowController.php, line 84

Class

IFlowController

Namespace

Drupal\cms_content_sync

Code

public function canPushEntity(EntityInterface $entity, $reason, $action = SyncIntent::ACTION_CREATE, $pool = null);