You are here

public function FlagListItemInterface::setPublished in Flag Lists 4.0.x

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

Sets the published status of a Flag list item.

Parameters

bool $published: TRUE to set this Flag list item to published, FALSE to set it to unpublished.

Return value

\Drupal\flag_lists\Entity\FlagListItemInterface The called Flag list item entity.

1 method overrides FlagListItemInterface::setPublished()
FlagListItem::setPublished in src/Entity/FlagListItem.php
Sets the published status of a Flag list item.

File

src/Entity/FlagListItemInterface.php, line 76

Class

FlagListItemInterface
Provides an interface for defining Flag list item entities.

Namespace

Drupal\flag_lists\Entity

Code

public function setPublished($published);