|
|
Drupal example source code file (views_plugin_argument_default_current_user.inc)
The views_plugin_argument_default_current_user.inc Drupal example source code<?php // $Id: views_plugin_argument_default_current_user.inc,v 1.1 2008/10/01 19:50:31 merlinofchaos Exp $ /** * @file * Contains the current user argument default plugin. */ /** * Default argument plugin to extract the global $user */ class views_plugin_argument_default_current_user extends views_plugin_argument_default { function get_argument() { global $user; return $user->uid; } } Other Drupal examples (source code examples)Here is a short list of links related to this Drupal views_plugin_argument_default_current_user.inc source code file: |
"Drupal" is a registered trademark of Dries Buytaert.
my drupal tutorials and examples
Copyright
1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.
Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.