function social_landing_page_theme in Open Social 8.9
Same name and namespace in other branches
- 8 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 8.2 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 8.3 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 8.4 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 8.5 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 8.6 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 8.7 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 8.8 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 10.3.x modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 10.0.x modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 10.1.x modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 10.2.x modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
Implements hook_theme().
File
- modules/
social_features/ social_landing_page/ social_landing_page.module, line 46 - The Social landing page module.
Code
function social_landing_page_theme() {
// Page.
$theme_templates['page__node__landing_page'] = [
'base hook' => 'page',
];
// Node.
$theme_templates['node__landing_page'] = [
'base hook' => 'node',
];
$theme_templates['node__landing_page__featured'] = [
'base hook' => 'node',
];
// Paragraphs.
$theme_templates['paragraph__block__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__button__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__hero__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__hero_small__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__introduction__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__section__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__accordion__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__accordion_item__default'] = [
'base hook' => 'paragraph',
];
// Fields.
$theme_templates['field__paragraph__section'] = [
'base hook' => 'field',
];
// Fields for hero buttons.
$theme_templates['field__paragraph__field_hero_buttons'] = [
'base hook' => 'field',
];
$theme_templates['field__paragraph__field_hero_small_buttons'] = [
'base hook' => 'field',
];
// Views.
$theme_templates['views_view__community_activities'] = [
'base hook' => 'views_view',
];
return $theme_templates;
}