public function EntityHelper::__construct in Simple XML sitemap 4.x
EntityHelper constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info:
\Drupal\Core\Config\ConfigFactoryInterface $configFactory:
File
- src/
Entity/ EntityHelper.php, line 41
Class
- EntityHelper
- Helper class for working with entities.
Namespace
Drupal\simple_sitemap\EntityCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, ConfigFactoryInterface $configFactory) {
$this->entityTypeManager = $entity_type_manager;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
$this->configFactory = $configFactory;
}