You are here

public function SearchByPageService::__construct in Search by Page 8

Constructs a new SearchByPage Service.

Parameters

ConfigFactoryInterface $config_factory: Config factory.

\Drupal\Core\Database\Connection $connection: Database connection.

File

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

Class

SearchByPageService

Namespace

Drupal\search_by_page\Services

Code

public function __construct(ConfigFactoryInterface $config_factory, Connection $connection) {
  $this->configFactory = $config_factory;
  $this->database = $connection;
}