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
1 2 3 4 5 | public function __construct(TranslationInterface $string_translation , LinkGeneratorInterface $link_generator , RendererInterface $renderer ) { $this ->stringTranslation = $string_translation ; $this ->linkGenerator = $link_generator ; $this ->renderer = $renderer ; } |
Please login to continue.