You are here

function forena_current_user_id in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 forena.module \forena_current_user_id()
  2. 7.3 forena.module \forena_current_user_id()
  3. 7.4 forena.module \forena_current_user_id()

Helper function for current user for the drupal instance

Return value

unknown

1 call to forena_current_user_id()
forena_current_user_uid in ./forena.module
Rename function for backwards compatibility
2 string references to 'forena_current_user_id'
DataSourceDefinitionForm::buildForm in src/Form/DataSourceDefinitionForm.php
[@inheritdoc}
settings.php in data/drupal/settings.php

File

./forena.module, line 437

Code

function forena_current_user_id() {
  return \Drupal::currentUser()
    ->id();
}