You are here

public function AccessStorage::getAllNids in Permissions by Term 8

Same name and namespace in other branches
  1. 8.2 src/Service/AccessStorage.php \Drupal\permissions_by_term\Service\AccessStorage::getAllNids()

Return value

array

1 call to AccessStorage::getAllNids()
AccessStorage::getUnrestrictedNids in src/Service/AccessStorage.php

File

src/Service/AccessStorage.php, line 705

Class

AccessStorage
Class AccessStorage.

Namespace

Drupal\permissions_by_term\Service

Code

public function getAllNids() {
  return $this->database
    ->select('node', 'n')
    ->fields('n', [
    'nid',
  ])
    ->execute()
    ->fetchCol();
}