You are here

public function PathFileEntityInterface::setPublished in Path File 8

Sets the published status of a Path file entity.

Parameters

bool $published: TRUE to set this Path file entity to published, FALSE to set it to unpublished.

Return value

\Drupal\path_file\Entity\PathFileEntityInterface The called Path file entity entity.

1 method overrides PathFileEntityInterface::setPublished()
PathFileEntity::setPublished in src/Entity/PathFileEntity.php
Sets the published status of a Path file entity.

File

src/Entity/PathFileEntityInterface.php, line 74

Class

PathFileEntityInterface
Provides an interface for defining Path file entity entities.

Namespace

Drupal\path_file\Entity

Code

public function setPublished($published);