You are here

public function ImportOptions::setPublish in GatherContent 8.4

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

Setter $publish.

File

src/Import/ImportOptions.php, line 115

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;
}