function InlineFormErrorsHooks::elementInfoAlter

Same name and namespace in other branches
  1. 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\Hook

Code

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.