Correct Answer: global $user; print $user->uid;
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Drupal Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Drupal MCQ Questions
Which of the following drupal module allows administrators to customize the site navigation?
Which of the following drupal module enables actions to be fired on certain system events, such as when new content is created?
What is a node?
In Drupal, which of the following is a pre-defined collection of data types (Fields) which relate to each other by an informational context?
In Drupal 6, how can access control to files be enforced?
Which of the following are valid values of 'requirements' property In module.routing.yml?
In module.routing.yml file 'requirements' can have following properties defined?
What is Drupal's main container that holds content in its themes?
Which one of the following is true with respect to jQuery loading in Drupal?
In Drupal 8, CacheCollector has the same internal logic as CacheArray but uses public methods for get and set instead of __________.
Drupal MCQs | Topic-wise