Verified Commit f570135a authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2867796 by murilohp, kkalashnikov, sophiavs, ameymudras, Ratan Priya,...

Issue #2867796 by murilohp, kkalashnikov, sophiavs, ameymudras, Ratan Priya, anagomes, alexpott, joachim: hook_theme() docs for path are inaccurate
parent f812be0d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1142,10 +1142,10 @@ function hook_page_bottom(array &$page_bottom) {
 *   - file: The file that any preprocess implementations reside in. This file
 *     will be included prior to the template being rendered, to make sure that
 *     the preprocess function (as needed) is actually loaded.
 *   - path: Override the path of the file to be used. Ordinarily the module or
 *     theme path will be used, but if the file will not be in the default
 *     path, include it here. This path should be relative to the Drupal root
 *     directory.
 *   - path: If specified, overrides the path to the directory that contains the
 *     file to be used. This path should be relative to the Drupal root
 *     directory. If not provided, the path will be set to the module or theme's
 *     templates directory.
 *   - template: The template name, without 'html.twig' on the end. The
 *     extension will be added automatically by the default rendering engine
 *     (which is Twig.) If 'path' is specified, 'template' should also be