public function AccessStorage::getAllNids in Permissions by Term 8.2
Same name and namespace in other branches
- 8 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 721
Class
- AccessStorage
- Class AccessStorage.
Namespace
Drupal\permissions_by_term\ServiceCode
public function getAllNids() {
return $this->database
->select('node', 'n')
->fields('n', [
'nid',
])
->execute()
->fetchCol();
}