public function EntityHelper::__construct in Simple XML sitemap 8.2
Same name and namespace in other branches
- 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_sitemapCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, Connection $database) {
$this->entityTypeManager = $entityTypeManager;
$this->db = $database;
}