Skip to content

block_core_..._build_css_...: narrow return type#450

Open
IanDelMar wants to merge 3 commits intophp-stubs:masterfrom
IanDelMar:build-css
Open

block_core_..._build_css_...: narrow return type#450
IanDelMar wants to merge 3 commits intophp-stubs:masterfrom
IanDelMar:build-css

Conversation

@IanDelMar
Copy link
Contributor

@IanDelMar IanDelMar commented Feb 24, 2026

The following functions return an array shape with the keys css_classes (a list of CSS classes) and inline_styles (a CSS declaration string):

  • block_core_home_link_build_css_colors() - Ref
  • block_core_home_link_build_css_font_sizes() - Ref
  • block_core_navigation_build_css_font_sizes() - Ref
  • block_core_navigation_link_build_css_colors() - Ref
  • block_core_navigation_link_build_css_font_sizes() - Ref
  • block_core_navigation_submenu_build_css_font_sizes() - Ref
  • block_core_page_list_build_css_font_sizes() - Ref

The array shape returned by the functions

  • block_core_page_list_build_css_colors() - Ref
  • block_core_navigation_build_css_colors() - Ref

additionally includes the keys overlay_css_classes (a list of CSS classes) and overlay_inline_styles (a CSS declaration string).

@IanDelMar IanDelMar marked this pull request as draft February 24, 2026 18:43
@IanDelMar IanDelMar marked this pull request as ready for review February 24, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant