You are here

public function ImportOptions::setPublish in GatherContent 8.5

Same name and namespace in other branches
  1. 8.4 src/Import/ImportOptions.php \Drupal\gathercontent\Import\ImportOptions::setPublish()

Setter $publish.

File

src/Import/ImportOptions.php, line 83

Class

ImportOptions
A class for storing and serializing the import/update options of a node.

Namespace

Drupal\gathercontent\Import

Code

public function setPublish($publish) {
  $this->publish = $publish;
  return $this;
}