function add_content_by_bundle_views_data in Add Content by Bundle Views Area Plugin 1.x
Implements hook_views_data().
File
- ./
add_content_by_bundle.views.inc, line 11 - Provide views data for our Add Content by Bundle module.
Code
function add_content_by_bundle_views_data() {
$data['views']['add_content_by_bundle'] = [
'title' => t('Add Content by Bundle link'),
'help' => t('Provide a link to add content for a specific content type.'),
'area' => [
'id' => 'add_content_by_bundle',
],
];
return $data;
}