You are here

public function SkinrUIController::library in Skinr 8.2

1 string reference to 'SkinrUIController::library'
skinr_ui.routing.yml in skinr_ui/skinr_ui.routing.yml
skinr_ui/skinr_ui.routing.yml

File

skinr_ui/src/Controller/SkinrUIController.php, line 18
Contains \Drupal\skinr_ui\Controller\SkinrUIController.

Class

SkinrUIController
Returns responses for devel module routes.

Namespace

Drupal\skinr_ui\Controller

Code

public function library($theme = NULL) {
  $theme = $theme ?: $this
    ->config('system.theme')
    ->get('default');
  return \Drupal::formBuilder()
    ->getForm('Drupal\\skinr_ui\\Form\\LibraryListForm', $theme);
}