You are here

function social_post_views_data in Open Social 8.3

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

Implements hook_views_data().

File

modules/social_features/social_post/social_post.views.inc, line 11
Provide views data for social_post module.

Code

function social_post_views_data() {
  $data = [];
  $data['views']['post_form'] = [
    'title' => t('Sitewide Post form'),
    'help' => t('Adds a sitewide post form.'),
    'area' => [
      'id' => 'social_post_post_form',
    ],
  ];
  return $data;
}