I'm trying to create new content with:
// Get suggestions template and update with values
$content = $this->app['storage']->getEmptyContent('suggestions');
$content->values['title'] = $title;
$content->values['description'] = $description;
// Save to db
$save = $this->app['storage']->saveContent($content);
status
is set as publish
in data returned from getEmptyContent
.
When I visit the backend, I can see that the save status is None
. How can I actually create it so that it is published?.