You are here

function social_core_theme in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_core/social_core.module \social_core_theme()
  2. 8 modules/social_features/social_core/social_core.module \social_core_theme()
  3. 8.2 modules/social_features/social_core/social_core.module \social_core_theme()
  4. 8.3 modules/social_features/social_core/social_core.module \social_core_theme()
  5. 8.4 modules/social_features/social_core/social_core.module \social_core_theme()
  6. 8.5 modules/social_features/social_core/social_core.module \social_core_theme()
  7. 8.6 modules/social_features/social_core/social_core.module \social_core_theme()
  8. 8.7 modules/social_features/social_core/social_core.module \social_core_theme()
  9. 10.3.x modules/social_features/social_core/social_core.module \social_core_theme()
  10. 10.0.x modules/social_features/social_core/social_core.module \social_core_theme()
  11. 10.1.x modules/social_features/social_core/social_core.module \social_core_theme()
  12. 10.2.x modules/social_features/social_core/social_core.module \social_core_theme()

Implements hook_theme().

File

modules/social_features/social_core/social_core.module, line 25
The Social core module.

Code

function social_core_theme() {
  return [
    // @deprecated: use node--hero.html.twig instead.
    'page_hero_data' => [
      'variables' => [
        'title' => NULL,
        'hero_node' => NULL,
        'node' => NULL,
        'node_type' => NULL,
        'section_class' => NULL,
        'event_enrollment' => NULL,
        'hero_styled_image_url' => NULL,
      ],
    ],
  ];
}