protected function prepareData()
    {
        $dataProvider = $this->attributes['dataProvider'];
        $urlPattern   = $this->attributes['urlPattern'];
        $return       = new Collection();
        foreach ($dataProvider as $item) {
            $name = isset($item->title) ? $item->title : $item->name;
            $url  = str_replace('{id}', $item->id, $urlPattern);
            $return->push(['url' => handles($url), 'name' => ucfirst($name), 'id' => $item->id]);
        }
        return $return->sortBy('name');
    }