function InlineFormErrorsHooks::elementInfoAlter
Same name and namespace in other branches
- main core/modules/inline_form_errors/src/Hook/InlineFormErrorsHooks.php \Drupal\inline_form_errors\Hook\InlineFormErrorsHooks::elementInfoAlter()
Implements hook_element_info_alter().
Attributes
#[Hook('element_info_alter')]
File
-
core/
modules/ inline_form_errors/ src/ Hook/ InlineFormErrorsHooks.php, line 43
Class
- InlineFormErrorsHooks
- Hook implementations for inline_form_errors.
Namespace
Drupal\inline_form_errors\HookCode
public function elementInfoAlter(array &$info) : void {
\Drupal::classResolver(RenderElementHelper::class)->alterElementInfo($info);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.