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
Namespace
Drupal\search_by_page\ServicesCode
public function __construct(ConfigFactoryInterface $config_factory, Connection $connection) {
$this->configFactory = $config_factory;
$this->database = $connection;
}