You are here

public function AclList::query in ACL 8

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

src/Plugin/migrate/source/AclList.php, line 20

Class

AclList
Drupal 6/7 ACL List Table source from database.

Namespace

Drupal\acl\Plugin\migrate\source

Code

public function query() {
  $query = $this
    ->select('acl', 'a')
    ->fields('a', [
    'acl_id',
    'module',
    'name',
    'number',
  ]);
  $query
    ->orderBy('acl_id');
  return $query;
}