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\EntityCode
public function setPublished($published);