You are here

public function UserModuleStatusInterface::setPublished in Opigno module 8

Same name and namespace in other branches
  1. 3.x 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 74

Class

UserModuleStatusInterface
Provides an interface for defining User module status entities.

Namespace

Drupal\opigno_module\Entity

Code

public function setPublished($published);