You are here

public function AnalysisFormHandler::__construct in Real-time SEO for Drupal 8.2

SeoPreviewFormHandler constructor.

Parameters

\Drupal\yoast_seo\EntityAnalyser $entity_analyser: The entity analyser.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

File

src/Form/AnalysisFormHandler.php, line 44

Class

AnalysisFormHandler
Base class for yoast_seo_preview form handlers.

Namespace

Drupal\yoast_seo\Form

Code

public function __construct(EntityAnalyser $entity_analyser, MessengerInterface $messenger) {
  $this->entityAnalyser = $entity_analyser;
  $this->messenger = $messenger;
}