Location: PHPKode > projects > Diem Content Management Framework > dmAdminPlugin/lib/config/dmAdminModuleManagerConfigHandler.php
<?php

require_once(sfConfig::get('dm_core_dir').'/lib/config/dmModuleManagerConfigHandler.php');

class dmAdminModuleManagerConfigHandler extends dmModuleManagerConfigHandler
{
  
  protected function fixModuleConfig($moduleKey, $moduleConfig, $isInProject)
  {
    $moduleOptions = parent::fixModuleConfig($moduleKey, $moduleConfig, $isInProject);
    
    $moduleOptions['sf_name'] = dmArray::get($moduleOptions, 'sf_name',
      ($moduleOptions['plugin'] && 'dmAdminPlugin' !== $moduleOptions['plugin']) ? $moduleKey.'Admin' : $moduleKey
    );
    
    return $moduleOptions;
  }

}
Return current item: Diem Content Management Framework