You are here

public function ImportEntityInterface::setPublished in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ImportEntityInterface.php \Drupal\content_synchronizer\Entity\ImportEntityInterface::setPublished()
  2. 3.x src/Entity/ImportEntityInterface.php \Drupal\content_synchronizer\Entity\ImportEntityInterface::setPublished()

Sets the published status of a Import.

Parameters

bool $published: TRUE to set this Import to published, FALSE to set it to unpublished.

Return value

\Drupal\content_synchronizer\Entity\ImportEntityInterface The called Import entity.

1 method overrides ImportEntityInterface::setPublished()
ImportEntity::setPublished in src/Entity/ImportEntity.php
Sets the published status of a Import.

File

src/Entity/ImportEntityInterface.php, line 75

Class

ImportEntityInterface
Provides an interface for defining Import entities.

Namespace

Drupal\content_synchronizer\Entity

Code

public function setPublished($published);