HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/iestorre/www2/modules/blogapi/addthis/addthis.views.inc
<?php

/**
 * @file
 * Provide views data and handlers for addthis.module
 */

/**
 * Implementation of hook_views_data().
 */
function addthis_views_data() {
  // We're registering the 'custom_teasers' table.
  $data['node']['addthis_button'] = array(
    'title' => t('AddThis button'),
    'help' => t('An AddThis button, associated with this node.'),
    'field' => array(
      'handler' => 'addthis_handler_field_button',
    ),
  );
  $data['node']['addthis_toolbox'] = array(
    'title' => t('AddThis toolbox'),
    'help' => t('An AddThis toolbox, associated with this node.'),
    'field' => array(
      'handler' => 'addthis_handler_field_toolbox',
    ),
  );
  return $data;
}

/**
 * Implementation of hook_views_handlers().
 */
function addthis_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'addthis'),
    ),
    'handlers' => array(
      'addthis_handler_field_button' => array(
        'parent' => 'views_handler_field',
        'file' => 'addthis_handler_field.inc',
      ),
      'addthis_handler_field_toolbox' => array(
        'parent' => 'views_handler_field',
        'file' => 'addthis_handler_field.inc',
      ),
    ),
  );
}