You are here

public function OpignoActivityInterface::setPublished in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/Entity/OpignoActivityInterface.php \Drupal\opigno_module\Entity\OpignoActivityInterface::setPublished()

Sets the published status of a Activity.

Parameters

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

Return value

\Drupal\opigno_module\Entity\OpignoActivityInterface The called Activity entity.

1 method overrides OpignoActivityInterface::setPublished()
OpignoActivity::setPublished in src/Entity/OpignoActivity.php
Sets the published status of a Activity.

File

src/Entity/OpignoActivityInterface.php, line 89

Class

OpignoActivityInterface
Provides an interface for defining Activity entities.

Namespace

Drupal\opigno_module\Entity

Code

public function setPublished($published);