public function testSetAdditionalBackendConfigurationsArray()
 {
     $userInterfaceConfigurations = new UserInterfaceConfigurations($this->backendInput);
     $this->assertTrue(is_array($userInterfaceConfigurations->setAdditionalAdminConfigurationsArray()));
 }
Exemplo n.º 2
0
 /**
  * @param UserInterfaceConfigurations $ui
  * @return UserInterfaceConfigurations
  */
 public function setupUserInterfaceConfigurations(UserInterfaceConfigurations $ui)
 {
     if ($this->recoverService('isBackend')) {
         $ui->setAdditionalAdminConfigurationsArray();
     } else {
         $ui->setAdditionalFrontendConfigurationsArray();
     }
     $this->setService('UserInterfaceConfigurations', $ui);
     return $ui;
 }