public function OpignoModuleInterface::setPublished in Opigno module 8
Same name and namespace in other branches
- 3.x 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\EntityCode
public function setPublished($published);