public function Replication::setDocIds in Workspace 8
Sets the entity UUIDs selected for this replication.
Parameters
array $doc_ids:
Return value
\Drupal\workspace\Entity\Replication
File
- src/
Entity/ Replication.php, line 297
Class
- Replication
- Defines the Replication entity.
Namespace
Drupal\workspace\EntityCode
public function setDocIds($doc_ids = []) {
$serialized = Json::encode($doc_ids);
$this
->set('doc_ids', $serialized);
return $this;
}