big update for home v2
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user