diff --git a/core/modules/system/theme.api.php b/core/modules/system/theme.api.php index 137f6e25430ce97d7c087671e7c1be85ec8183a9..4dd9d6058f2c5e52d7283bac55feca0ae0d60c6d 100644 --- a/core/modules/system/theme.api.php +++ b/core/modules/system/theme.api.php @@ -18,16 +18,16 @@ * @link theme_render Theme system and Render API topic @endlink for more * information about render arrays and rendering. * - * @section sec_theme_hooks Theme Hooks The theme system is invoked in - * drupal_render() by calling the internal _theme() function, which operates on - * the concept of "theme hooks". Theme hooks define how a particular type of - * data should be rendered. They are registered by modules by implenting - * hook_theme(), which specifies the name of the hook, the input "variables" - * used to provide data and options, and other information. Modules implementing - * hook_theme() also need to provide a default implementation for each of their - * theme hooks, normally in a Twig file, and they may also provide preprocessing - * functions. For example, the core Search module defines a theme hook for a - * search result item in search_theme(): + * @section sec_theme_hooks Theme Hooks + * The theme system is invoked in drupal_render() by calling the internal + * _theme() function, which operates on the concept of "theme hooks". Theme + * hooks define how a particular type of data should be rendered. They are + * registered by modules by implenting hook_theme(), which specifies the name of + * the hook, the input "variables" used to provide data and options, and other + * information. Modules implementing hook_theme() also need to provide a default + * implementation for each of their theme hooks, normally in a Twig file, and + * they may also provide preprocessing functions. For example, the core Search + * module defines a theme hook for a search result item in search_theme(): * @code * return array( * 'search_result' => array(