social media btns

This commit is contained in:
2018-04-25 23:23:03 +02:00
parent e2b0c1c59a
commit bd68707e61
35 changed files with 1440 additions and 6 deletions
@@ -0,0 +1,21 @@
<?php
/**
* @file
* Views integration for AddToAny.
*/
/**
* Implements hook_views_data_alter().
*/
function addtoany_views_data_alter(array &$data) {
// Add the addtoany link to the node fields.
$data['node']['addtoany_share'] = [
'title' => t('AddToAny share buttons'),
'field' => [
'title' => t('AddToAny share buttons'),
'help' => t('Provide share buttons for sharing the content.'),
'id' => 'node_addtoany_share',
],
];
}