big update for home v2

This commit is contained in:
Bachir Soussi Chiadmi
2015-06-03 17:02:24 +02:00
parent 49004d7fee
commit 3ffbc09c10
26 changed files with 4210 additions and 1461 deletions

View File

@@ -54,5 +54,15 @@ function materio_display_preprocess_field(&$vars, $hook) {
}
}
}
}
/**
* Implements hook_entity_info_alter().
*/
function materio_display_entity_info_alter(&$entity_info) {
$entity_info['node']['view modes']['homeblock'] = array(
'label' => t('Home block'),
'custom settings' => TRUE,
);
}