/**
* Writes a common 'unpublish' button.
*
* @param string $task The task name of this button.
* @param string $text The text of this button.
*
* @return StandardButton
*
* @since 4.0.0
*/
public function unpublish(string $task, string $text = 'JTOOLBAR_UNPUBLISH') : StandardButton
{
return $this->standardButton('unpublish', $text)->task($task);
}