public function ParagraphSetInterface::setPublished in Paragraphs frontend ui 8
Sets the published status of a Paragraph set.
Parameters
bool $published: TRUE to set this Paragraph set to published, FALSE to for unpublished.
Return value
\Drupal\paragraphs_frontend_ui\Entity\ParagraphSetInterface The called Paragraph set entity.
1 method overrides ParagraphSetInterface::setPublished()
- ParagraphSet::setPublished in src/
Entity/ ParagraphSet.php - Sets the published status of a Paragraph set.
File
- src/
Entity/ ParagraphSetInterface.php, line 73
Class
- ParagraphSetInterface
- Provides an interface for defining Paragraph set entities.
Namespace
Drupal\paragraphs_frontend_ui\EntityCode
public function setPublished($published);