public function elFinderAdminController::adminSettings in elFinder file manager 8.2
Returns an administrative settings
1 string reference to 'elFinderAdminController::adminSettings'
File
- src/
Controller/ elFinderAdminController.php, line 22  - Contains \Drupal\elfinder\Controller\elFinderAdminController.
 
Class
- elFinderAdminController
 - Controller routines for elFinder Admin routes.
 
Namespace
Drupal\elfinder\ControllerCode
public function adminSettings(Request $request) {
  $output['profile_list'] = array(
    '#type' => 'container',
    '#attributes' => array(
      'class' => array(
        'elfinder-profile-list',
      ),
    ),
    'title' => array(
      '#markup' => '<h2>' . $this
        ->t('Profiles') . '</h2>',
    ),
    'list' => $this
      ->entityManager()
      ->getListBuilder('elfinder_profile')
      ->render(),
  );
  $output['settings_form'] = \Drupal::formBuilder()
    ->getForm('Drupal\\elfinder\\Form\\AdminForm') + array(
    '#weight' => 10,
  );
  return $output;
}