function social_landing_page_theme in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
- 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.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__featured'] = [
'base hook' => 'node',
];
$theme_templates['node__event__featured'] = [
'base hook' => 'node',
];
$theme_templates['node__topic__featured'] = [
'base hook' => 'node',
];
$theme_templates['node__page__featured'] = [
'base hook' => 'node',
];
$theme_templates['node__book__featured'] = [
'base hook' => 'node',
];
$theme_templates['node__landing_page__featured'] = [
'base hook' => 'node',
];
// Group.
$theme_templates['group__featured'] = [
'base hook' => 'group',
];
// Profile.
$theme_templates['profile__featured'] = [
'base hook' => 'profile',
];
// Paragraphs.
$theme_templates['paragraph__block__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__button__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__featured__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__featured_item__default'] = [
'base hook' => 'paragraph',
];
$theme_templates['paragraph__featured_items__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',
];
// Fields.
$theme_templates['field__paragraph__section'] = [
'base hook' => 'field',
];
// Fields for feature item.
$theme_templates['field__paragraph__field_featured_items'] = [
'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;
}