entete sit
This commit is contained in:
@@ -46,6 +46,7 @@ function reha_preprocess_html(&$variables) {
|
||||
$numero_field_content = '';
|
||||
$adresse_field_content = '';
|
||||
$lettre_field_content = '';
|
||||
$image_caption_field_content = '';
|
||||
|
||||
foreach ($variables['content'] as $field_name => $field_content) {
|
||||
if ($field_name == 'body') {
|
||||
@@ -60,6 +61,8 @@ function reha_preprocess_html(&$variables) {
|
||||
$adresse_field_content = $field_content;
|
||||
} elseif ($field_name == 'field_lettre_de_site') {
|
||||
$adresse_field_content = $field_content;
|
||||
} elseif ($field_name == 'image_field_caption') {
|
||||
$image_caption_field_content = $field_content;
|
||||
} elseif (!in_array($field_name, $fields_to_exclude)) {
|
||||
$filtered_content[$field_name] = $field_content;
|
||||
} else {
|
||||
@@ -75,6 +78,7 @@ function reha_preprocess_html(&$variables) {
|
||||
$variables['adresse_field_content'] = $adresse_field_content;
|
||||
$variables['numero_field_content'] = $numero_field_content;
|
||||
$variables['field_lettre_de_site'] = $lettre_field_content;
|
||||
$variables['image_field_caption'] = $image_caption_field_content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user