You are here

function commerce_paypal_views_data in Commerce PayPal 8

Implements hook_views_data().

File

./commerce_paypal.views.inc, line 11
Provide Views data for Commerce PayPal.

Code

function commerce_paypal_views_data() {
  $data['views']['commerce_paypal_credit_messaging'] = [
    'title' => t('PayPal Credit messaging'),
    'help' => t('Displays order specific messaging for PayPal Credit; requires an Order ID argument.'),
    'area' => [
      'id' => 'commerce_paypal_credit_messaging',
    ],
  ];
  return $data;
}