src/models/Page.php
public static function publishedDropDownList()
    {
        $formatter = Yii::$app->formatter;
        return [
            false => $formatter->asBoolean(false),
            true => $formatter->asBoolean(true),
        ];
    }
public static function publishedDropDownList()
    {
        $formatter = Yii::$app->formatter;
        return [
            false => $formatter->asBoolean(false),
            true => $formatter->asBoolean(true),
        ];
    }
List values of field 'published' with label.
@return array