Skip to main content

Filter: gk/foundation/onboarding/home

Filters the site-level content of the shared Welcome page: how the product catalog read went, how many GravityKit products are installed, one editorial story and up to three featured products.

Parameters​

NameTypeDescription
$homearray|nullSite-level content. Default: null, which tells the page the catalog is unavailable.
↳ $catalogstringOne of 'ready', 'unavailable' or 'restricted'. Default: 'unavailable'.
↳ $installedintGravityKit products installed on this site. Meaningful only when catalog is 'ready'. Default: 0.
↳ $newsarray|nullOne story: category, title, description, url and image { url, alt
↳ $featuredarrayUp to three products with slug, name, description, icon and url. Default: empty.

Since​

  • TBD: TBD

Source​

Defined in Onboarding/Framework.php at line 752