You are here

public function PushEntities::add in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Controller/PushEntities.php \Drupal\cms_content_sync\Controller\PushEntities::add()
  2. 2.0.x src/Controller/PushEntities.php \Drupal\cms_content_sync\Controller\PushEntities::add()

Parameters

string $flow_id:

string $entity_type_id:

int $entity_id:

Return value

$this

1 call to PushEntities::add()
PushEntities::addEntity in src/Controller/PushEntities.php

File

src/Controller/PushEntities.php, line 193

Class

PushEntities
Pull controller.

Namespace

Drupal\cms_content_sync\Controller

Code

public function add($flow_id, $entity_type_id, $entity_id) {
  $this->operations[] = [
    '\\Drupal\\cms_content_sync\\Controller\\PushEntities::batch',
    [
      $flow_id,
      $entity_type_id,
      $entity_id,
    ],
  ];
  return $this;
}