Render array item list

Public

A renderable item list

</> CopyGet raw version
php
  1. array(
  2. '#theme' => 'item_list',
  3. '#items' => $links,
  4. '#type' => 'ul',
  5. '#attributes' => array('class' => 'my-list'),
  6. );