Issue #3247650: Make it clear that hook_page_attachments is not called in themes.
Compare changes
@@ -1041,7 +1041,8 @@ function hook_css_alter(&$css, \Drupal\Core\Asset\AttachedAssetsInterface $asset
@@ -1041,7 +1041,8 @@ function hook_css_alter(&$css, \Drupal\Core\Asset\AttachedAssetsInterface $asset
@@ -1070,7 +1071,8 @@ function hook_page_attachments(array &$attachments) {
@@ -1070,7 +1071,8 @@ function hook_page_attachments(array &$attachments) {