You are here

public function EntityHelper::__construct in Simple XML sitemap 8.2

Same name and namespace in other branches
  1. 8.3 src/EntityHelper.php \Drupal\simple_sitemap\EntityHelper::__construct()

EntityHelper constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager:

\Drupal\Core\Database\Connection $database:

File

src/EntityHelper.php, line 32

Class

EntityHelper
Class EntityHelper @package Drupal\simple_sitemap

Namespace

Drupal\simple_sitemap

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, Connection $database) {
  $this->entityTypeManager = $entityTypeManager;
  $this->db = $database;
}