You are here

function social_landing_page_theme in Open Social 10.0.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  2. 8 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  3. 8.2 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  4. 8.3 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  5. 8.4 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  6. 8.5 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  7. 8.6 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  8. 8.7 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  9. 8.8 modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  10. 10.3.x modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  11. 10.1.x modules/social_features/social_landing_page/social_landing_page.module \social_landing_page_theme()
  12. 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;
}