You are here

function datalayer_datalayer_current_user_meta in dataLayer 8

Same name and namespace in other branches
  1. 7 datalayer.module \datalayer_datalayer_current_user_meta()

Implements hook_datalayer_current_user_meta().

Defines current user meta data.

File

./datalayer.module, line 171
Client-side data space.

Code

function datalayer_datalayer_current_user_meta() {
  return [
    'name',
    'mail',
    'roles',
    'created',
    'access',
  ];
}