FormErrorHandler::__construct

public FormErrorHandler::__construct(TranslationInterface $string_translation, LinkGeneratorInterface $link_generator, RendererInterface $renderer)

Constructs a new FormErrorHandler.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The link generation service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

File

core/modules/inline_form_errors/src/FormErrorHandler.php, line 41

Class

FormErrorHandler
Produces inline form errors.

Namespace

Drupal\inline_form_errors

Code

public function __construct(TranslationInterface $string_translation, LinkGeneratorInterface $link_generator, RendererInterface $renderer) {
  $this->stringTranslation = $string_translation;
  $this->linkGenerator = $link_generator;
  $this->renderer = $renderer;
}
doc_Drupal
2016-10-29 09:15:41
Comments
Leave a Comment

Please login to continue.