function social_post_views_data in Open Social 8.3
Same name and namespace in other branches
- 8.9 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 8 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 8.2 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 8.4 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 8.5 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 8.6 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 8.7 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 8.8 modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 10.3.x modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 10.0.x modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 10.1.x modules/social_features/social_post/social_post.views.inc \social_post_views_data()
- 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;
}