Skip to content

Instantly share code, notes, and snippets.

@roberttdev
Created April 8, 2015 20:20
Show Gist options
  • Save roberttdev/8f2e91fe9e9f6c057146 to your computer and use it in GitHub Desktop.
Save roberttdev/8f2e91fe9e9f6c057146 to your computer and use it in GitHub Desktop.
$content = array(
'member_id_row' => array(
'#type' => 'container',
'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