Forked from roberttdev/gist:8f2e91fe9e9f6c057146
Last active
August 29, 2015 14:18
-
-
Save cravecode/cdc18c9f286ab4378a40 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$content = array( | |
'member_id_row' => array( | |
'#type' => 'container', | |
'#attributes' => arra(), | |
'label' => array( | |
'#markup' => '<label>' . t('Member ID') . '</label>', | |
), | |
'value' => array( | |
'#markup' => '<span>' . $GLOBALS['user']->name . '</span>', | |
) | |
) | |
); | |
$block->content = render($content); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment