コード例 #1
0
 public function testSetAdditionalBackendConfigurationsArray()
 {
     $userInterfaceConfigurations = new UserInterfaceConfigurations($this->backendInput);
     $this->assertTrue(is_array($userInterfaceConfigurations->setAdditionalAdminConfigurationsArray()));
 }
コード例 #2
0
ファイル: AppServiceLoader.php プロジェクト: usban/entilocali
 /**
  * @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;
 }