You are here

function stable_element_info_alter in Drupal 8

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

Implements hook_element_info_alter().

File

core/themes/stable/stable.theme, line 46
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';
  }
}