You are here

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

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

Sets the published status of a Module.

Parameters

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

Return value

\Drupal\opigno_module\Entity\OpignoModuleInterface The called Module entity.

1 method overrides OpignoModuleInterface::setPublished()
OpignoModule::setPublished in src/Entity/OpignoModule.php
Sets the published status of a Module.

File

src/Entity/OpignoModuleInterface.php, line 73

Class

OpignoModuleInterface
Provides an interface for defining Module entities.

Namespace

Drupal\opigno_module\Entity

Code

public function setPublished($published);