Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Style Guide uses the following helper functions to generate content:
styleguide_list()
- return a simple array of wordsstyleguide_word()
- return a random word or words.styleguide_header()
- return a random table header array.styleguide_rows()
- return a random table row array.styleguide_lorem()
- return Lorem Ipsum text, used to generate words and phrases.styleguide_paragraph()
- return HTML paragraph(s) of random textstyleguide_image()
- provide a default image for display.styleguide_sentence()
- return a random sentence.styleguide_form()
- return a sample form, showing all form elements.styleguide_pager()
- simulate Drupal paginationstyleguide_links()
- return an array of random linksstyleguide_menu_item()
- return a random menu itemstyleguide_ul_links()
- return a links array fortheme_links()