You are here

public function KeywordInterface::setPublished in Alinks 8

Sets the published status of a Keyword.

Parameters

bool $published: TRUE to set this Keyword to published, FALSE to set it to unpublished.

Return value

\Drupal\alinks\Entity\KeywordInterface The called Keyword entity.

1 method overrides KeywordInterface::setPublished()
Keyword::setPublished in src/Entity/Keyword.php
Sets the published status of a Keyword.

File

src/Entity/KeywordInterface.php, line 73

Class

KeywordInterface
Provides an interface for defining Keyword entities.

Namespace

Drupal\alinks\Entity

Code

public function setPublished($published);