Commit 3fc21bfb authored by Gaurav Kapoor's avatar Gaurav Kapoor Committed by Gaurav Kapoor
Browse files

Issue #3015929 by gaurav.kapoor: Add functionality to save user Roles along with other data

parent 62bac4e6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -96,6 +96,14 @@ function counter_views_data() {
  $data['counter']['uid'] = [
    'title' => t('UID'),
    'help' => t('The UID who visit Counter URL.'),
    'relationship' => [
      'title' => t('Counter user'),
      'help' => t('Relate content to the user for which the data was counted.'),
      'base' => 'users_field_data',
      'base field' => 'uid',
      'id' => 'standard',
      'label' => t('Counter User'),
    ],
    'field' => [
      'id' => 'numeric',
    ],