/**
  * Registers the module.
  *
  * @return bool
  */
 public function setup()
 {
     $module = array('description' => __('Show sites with their alternative language title in the admin bar.', 'multilingual-press'), 'display_name' => __('Alternative Language Title', 'multilingual-press'), 'slug' => 'class-' . __CLASS__, 'state' => 'off');
     return $this->module_manager->register($module);
 }
 /**
  * Register the feature.
  *
  * @return bool Feature is active or not.
  */
 public function setup()
 {
     $desc = __('Redirect visitors according to browser language settings.', 'multilingual-press');
     $settings = array('display_name' => __('HTTP Redirect', 'multilingual-press'), 'slug' => 'class-' . __CLASS__, 'description' => $desc);
     return $this->modules->register($settings);
 }
 /**
  * (non-PHPdoc)
  *
  * @see Mlp_Module_Mapper_Interface::get_modules()
  */
 public function get_modules($status = 'all')
 {
     return $this->modules->get_modules($status);
 }