You are here

public function DomainConfigUIController::sortItems in Domain Access 8

Sorts items by parent config.

File

domain_config_ui/src/Controller/DomainConfigUIController.php, line 212

Class

DomainConfigUIController
Controller routines for AJAX callbacks for domain actions.

Namespace

Drupal\domain_config_ui\Controller

Code

public function sortItems($a, $b) {
  return strcmp($a['item'], $b['item']);
}