views_add_button.views.inc in Views Add Button 2.0.x
Same filename and directory in other branches
Views area plugin info for views_add_button.
File
views_add_button.views.incView source
<?php
/**
* @file
* Views area plugin info for views_add_button.
*/
/**
* Implements hook_views_data_alter().
*/
function views_add_button_views_data_alter(array &$data) {
$data['views']['views_add_button'] = [
'title' => t('Entity Add Button'),
'help' => t('Render an add button for an entity.'),
'area' => [
'id' => 'views_add_button_area',
],
];
$data['views']['views_add_button_field'] = [
'title' => t('Entity Add Button'),
'help' => t('Render an add button for an entity.'),
'field' => [
'id' => 'views_add_button_field',
],
];
}
Functions
Name | Description |
---|---|
views_add_button_views_data_alter | Implements hook_views_data_alter(). |