public function FeedbackMessageInterface::setPublished in Feedback 3.x
Sets the published status of a Feedback message.
Parameters
bool $published: TRUE to set this Feedback message to published, FALSE to set it to unpublished.
Return value
\Drupal\feedback\FeedbackMessageInterface The called Feedback message entity.
1 method overrides FeedbackMessageInterface::setPublished()
- FeedbackMessage::setPublished in src/
Entity/ FeedbackMessage.php - Sets the published status of a Feedback message.
File
- src/
FeedbackMessageInterface.php, line 71
Class
- FeedbackMessageInterface
- Provides an interface for defining Feedback message entities.
Namespace
Drupal\feedbackCode
public function setPublished($published);