diff --git a/core/modules/block/tests/themes/block_test_theme/page.html.twig b/core/modules/block/tests/themes/block_test_theme/page.html.twig index 4656eed..b795e61 100755 --- a/core/modules/block/tests/themes/block_test_theme/page.html.twig +++ b/core/modules/block/tests/themes/block_test_theme/page.html.twig @@ -44,15 +44,7 @@ {% if main_menu or secondary_menu %} {% endif %} diff --git a/core/modules/system/templates/page.html.twig b/core/modules/system/templates/page.html.twig index 0598d7a..a56abc5 100644 --- a/core/modules/system/templates/page.html.twig +++ b/core/modules/system/templates/page.html.twig @@ -9,8 +9,8 @@ * Available variables: * * General utility variables: - * - base_path: The base URL path of the Drupal installation. At the very - * least, this will always default to /. + * - base_path: The base URL path of the Drupal installation. Will usually + * be / unless you have installed Drupal in a sub-directory. * - directory: The directory the template is located in, e.g. modules/system * or themes/bartik. * - is_front: A flag indicating if the current page is the front page. @@ -19,10 +19,10 @@ * administration pages. * * Site identity: - * - front_page: The URL of the front page. Use this instead of base_path, + * - front_page: The URL of the front page. Use this instead of base_path * when linking to the front page. This includes the language domain or * prefix. - * - logo: The path to the logo image, as defined in theme configuration. + * - logo: The path to the logo image, as defined in theme settings. * - site_name: The name of the site, empty when display has been disabled * in theme settings. * - site_slogan: The slogan of the site, empty when display has been disabled @@ -40,16 +40,15 @@ * - title: The page title, for use in the actual HTML content. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. - * - messages: HTML for status and error messages. Should be displayed - * prominently. + * - messages: Status and error messages. Should be displayed prominently. * - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the * view and edit tabs when displaying a node). * - action_links: Actions local to the page, such as 'Add menu' on the menu * administration interface. * - feed_icons: All feed icons for the current page. - * - node: The node entity, if there is an automatically-loaded node - * associated with the page, and the node ID is the second argument - * in the page's path (e.g. node/12345 and node/12345/revisions, but not + * - node: Fully loaded node, if there is an automatically-loaded node + * associated with the page and the node ID is the second argument in the + * page's path (e.g. node/12345 and node/12345/revisions, but not * comment/reply/12345). * * Regions: @@ -105,18 +104,10 @@ {% if main_menu or secondary_menu %} diff --git a/core/themes/bartik/templates/page.html.twig b/core/themes/bartik/templates/page.html.twig index 7aea57d..fa3a7d2 100644 --- a/core/themes/bartik/templates/page.html.twig +++ b/core/themes/bartik/templates/page.html.twig @@ -10,8 +10,8 @@ * Available variables: * * General utility variables: - * - base_path: The base URL path of the Drupal installation. At the very - * least, this will always default to /. + * - base_path: The base URL path of the Drupal installation. Will usually + * be / unless you have installed Drupal in a sub-directory. * - directory: The directory the template is located in, e.g. modules/system * or themes/bartik. * - is_front: A flag indicating if the current page is the front page. @@ -20,10 +20,10 @@ * administration pages. * * Site identity: - * - front_page: The URL of the front page. Use this instead of base_path, + * - front_page: The URL of the front page. Use this instead of base_path * when linking to the front page. This includes the language domain or * prefix. - * - logo: The path to the logo image, as defined in theme configuration. + * - logo: The path to the logo image, as defined in theme settings. * - site_name: The name of the site, empty when display has been disabled * in theme settings. * - site_slogan: The slogan of the site, empty when display has been disabled @@ -47,16 +47,15 @@ * - title: The page title, for use in the actual HTML content. * - title_suffix: Additional output populated by modules, intended to be * displayed after the main title tag that appears in the template. - * - messages: HTML for status and error messages. Should be displayed - * prominently. + * - messages: Status and error messages. Should be displayed prominently. * - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the * view and edit tabs when displaying a node). * - action_links: Actions local to the page, such as 'Add menu' on the menu * administration interface. * - feed_icons: All feed icons for the current page. - * - node: The node entity, if there is an automatically-loaded node - * associated with the page, and the node ID is the second argument - * in the page's path (e.g. node/12345 and node/12345/revisions, but not + * - node: Fully loaded node, if there is an automatically-loaded node + * associated with the page and the node ID is the second argument in the + * page's path (e.g. node/12345 and node/12345/revisions, but not * comment/reply/12345). * * Regions: @@ -89,10 +88,6 @@ - {% if messages %}
{{ messages }}