public function SeoManager::__construct in Real-time SEO for Drupal 8.2
Constructor for YoastSeoManager.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity Type Manager service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: Entity Type Bundle Info service.
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: Entity Field Manager service.
\Drupal\Core\StringTranslation\TranslationInterface $stringTranslation: The string traslation service.
File
- src/
SeoManager.php, line 54
Class
- SeoManager
- Utility service for the Real-Time SEO module.
Namespace
Drupal\yoast_seoCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo, EntityFieldManagerInterface $entityFieldManager, TranslationInterface $stringTranslation) {
$this->entityTypeBundleInfo = $entityTypeBundleInfo;
$this->entityTypeManager = $entityTypeManager;
$this->entityFieldManager = $entityFieldManager;
$this->stringTranslation = $stringTranslation;
}