/**
  * {@inheritdoc}
  */
 public function buildSettings(SettingsBuilderInterface $builder)
 {
     $defaults = array_merge(array('enabled' => true, 'import_enabled' => true, 'collect_phases' => true), $this->defaults);
     $allowedValues = array('enabled' => array(true, false, '1', '0'), 'import_enabled' => array(true, false, '1', '0'), 'collect_phases' => array(true, false, '1', '0'));
     if ($this->getPDSDefault()) {
         $defaults['pds_enabled'] = $this->getPDSDefault();
         $allowedValues['pds_enabled'] = array(true, false, '1', '0');
     }
     $builder->setDefaults($defaults)->setAllowedValues($allowedValues);
 }
 /**
  * {@inheritdoc}
  */
 public function buildSettings(SettingsBuilderInterface $builder)
 {
     $integerNormalizer = function (Options $options, $value) {
         if (null !== $value && is_numeric($value)) {
             return intval($value);
         }
         return 0;
     };
     $builder->setDefaults(array_merge(array('enabled' => true), $this->defaults))->setAllowedValues(array('enabled' => array(true, false, '1', '0')));
 }
 /**
  * {@inheritdoc}
  */
 public function buildSettings(SettingsBuilderInterface $builder)
 {
     $builder->setDefaults(array_merge(array('enabled' => true, 'show_collections' => true, 'show_derivations' => false), $this->defaults))->setAllowedValues(array('enabled' => array(true, false, '1', '0'), 'show_collections' => array(true, false, '1', '0'), 'show_derivations' => array(true, false, '1', '0')));
 }
 /**
  * {@inheritdoc}
  */
 public function buildSettings(SettingsBuilderInterface $builder)
 {
     $builder->setDefaults(array_merge(array('theme' => 'default'), $this->defaults))->setAllowedTypes(array('theme' => array('string')));
 }
 /**
  * {@inheritdoc}
  */
 public function buildSettings(SettingsBuilderInterface $builder)
 {
     $builder->setDefaults(array_merge(array('title' => 'Accard Framework', 'logotype' => 'Accard Framework', 'locale' => 'en'), $this->defaults))->setAllowedTypes(array('title' => array('string'), 'logotype' => array('string'), 'locale' => array('string')));
 }