You are here

public function SearchByPageService::getServiceData in Search by Page 8

Get service data.

File

src/Services/SearchByPageService.php, line 56
Search By Page Service and helper methods.

Class

SearchByPageService

Namespace

Drupal\search_by_page\Services

Code

public function getServiceData() {
  $query = $this->database
    ->query('SELECT nid FROM {node}');
  $result = $query
    ->fetchAssoc();
  return $result;
}