hook_civictheme_automated_list_view_info_alter example's content type is misleading

Created on 10 April 2025, 16 days ago

Good:
hook_civictheme_layout_suppress_page_regions_alter() references the content type "civictheme_page", which is created by the theme

Less good:
hook_civictheme_automated_list_view_info_alter() references a content type with machine name "event", which is not quite the machine name of the "Event" content type created by the theme.

Proposed change:
Have hook_civictheme_automated_list_view_info_alter() reference content type "civictheme_event" to help those of us blindly copying and pasting

πŸ› Bug report
Status

Active

Version

1.10

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States jdleonard Austin, TX, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024