public function PollChoiceTranslationMetadataWrapper::setPublished in Poll 8
Sets the translation published status.
The metadata field will be updated, only if it's translatable.
Parameters
bool $published: TRUE if the translation is published, FALSE otherwise.
Return value
$this
Overrides ContentTranslationMetadataWrapper::setPublished
File
- src/
PollChoiceTranslationMetadataWrapper.php, line 65
Class
- PollChoiceTranslationMetadataWrapper
- Base class for content translation metadata wrappers.
Namespace
Drupal\pollCode
public function setPublished($published) {
return $this;
}