/**
  * {@inheritdoc}
  */
 public function buildConfig(Config $config, BootstrapConfigModel $model)
 {
     $key = 'icons.sets.' . $model->name;
     if ($model->delete) {
         $config->remove($key);
         return;
     }
     $theme = $model->getRelated('pid');
     $value = array('label' => $model->name . ($theme ? ' (' . $theme->name . ')' : ''), 'stylesheet' => $this->getStylesheets($model), 'template' => $model->icons_template, 'path' => $model->icons_path);
     $config->set($key, $value);
 }