You are here

function stable_element_info_alter in Drupal 10

Same name and namespace in other branches
  1. 8 core/themes/stable/stable.theme \stable_element_info_alter()
  2. 9 core/themes/stable/stable.theme \stable_element_info_alter()

Implements hook_element_info_alter().

File

core/themes/stable/stable.theme, line 43
Functions to support theming in the Stable theme.

Code

function stable_element_info_alter(array &$info) {
  if (array_key_exists('text_format', $info)) {
    $info['text_format']['#process'][] = 'stable_process_text_format';
  }
}