You are here

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

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

Sets the published status of a User module status.

Parameters

bool $published: TRUE to set this User module status to published, FALSE to set it to unpublished.

Return value

\Drupal\opigno_module\Entity\UserModuleStatusInterface The called User module status entity.

1 method overrides UserModuleStatusInterface::setPublished()
UserModuleStatus::setPublished in src/Entity/UserModuleStatus.php
Sets the published status of a User module status.

File

src/Entity/UserModuleStatusInterface.php, line 90

Class

UserModuleStatusInterface
Provides an interface for defining User module status entities.

Namespace

Drupal\opigno_module\Entity

Code

public function setPublished($published);