diff --git a/docs/hooks/hook_civicrm_themes.md b/docs/hooks/hook_civicrm_themes.md
index 25b5b8094c2956ed5512f192407e46afb1107d3e..ee8f63783121d9dab72535f0d5cc9f50f11d8b35 100644
--- a/docs/hooks/hook_civicrm_themes.md
+++ b/docs/hooks/hook_civicrm_themes.md
@@ -48,9 +48,10 @@ This Hook is called when building a list of available themes for use within Civi
      */
 
     function civitest_civicrm_themes( &$themes ) {
-      $themes[] = [
+      $themes['civielection'] = [
         'name' => 'civielection',
         'title' => 'civielection theme',
+        'ext' => 'au.org.greens.civielection',
         'prefix' => NULL,
         'url_callback' => '\\Civi\\Core\\Themes\\Resolvers::simple',
         'search_order' => [