ConfigEntityListController.php

Definition of Drupal\Core\Config\Entity\ConfigEntityListController.

Namespace

Drupal\Core\Config\Entity

File

drupal/core/lib/Drupal/Core/Config/Entity/ConfigEntityListController.php
View source
<?php

/**
 * @file
 * Definition of Drupal\Core\Config\Entity\ConfigEntityListController.
 */
namespace Drupal\Core\Config\Entity;

use Drupal\Core\Entity\EntityListController;

/**
 * Defines the default list controller for ConfigEntity objects.
 */
class ConfigEntityListController extends EntityListController {

  /**
   * Overrides Drupal\Core\Entity\EntityListController::load().
   */
  public function load() {
    $entities = parent::load();
    uasort($entities, 'Drupal\\Core\\Config\\Entity\\ConfigEntityBase::sort');
    return $entities;
  }

}

Classes

Namesort descending Description
ConfigEntityListController Defines the default list controller for ConfigEntity objects.