Skip to content

Instantly share code, notes, and snippets.

@eggsurplus
Created September 20, 2014 18:22
Show Gist options
  • Save eggsurplus/f2d419fa53ab5f07d302 to your computer and use it in GitHub Desktop.
Save eggsurplus/f2d419fa53ab5f07d302 to your computer and use it in GitHub Desktop.
header.php for wiki-profileactions
<?php
$viewdefs['base']['layout']['header'] = array(
'components' =>
array(
array(
'layout' => 'module-list',
),
array(
'view' => 'globalsearch',
),
array(
'view' => 'notifications',
),
array(
'view' => 'wiki-profileactions',
),
array(
'view' => 'quickcreate',
),
),
'last_state' => array(
'id' => 'app-header',
'defaults' => array(
'last-home' => 'dashboard',
),
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment