Mage2\Catalog\Controllers\Admin\CategoryController::_getCategoryOptions PHP Method

_getCategoryOptions() private method

private _getCategoryOptions ( )
    private function _getCategoryOptions()
    {
        $options = Collection::make([0 => 'please select'] + Category::pluck('name', 'id')->toArray())->toArray();
        return $options;
    }