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
Namespace
Drupal\cms_content_syncCode
public function canPushEntity(EntityInterface $entity, $reason, $action = SyncIntent::ACTION_CREATE, $pool = null);