Here is the current code for theme_more_link():
<?php
function theme_more_link($variables) {
return '<div class="more-link">'. l(t('More'), $variables['url'], array('attributes'=> array('title'=> $variables['title']))) . '</div>';
}
?>
In order to reproduce this with #type = link, we need to make a render array with the following structure:
<?php
$more_link = array(
'#type'=> 'link',
'#href'=> 'admin/content',
'#title'=> t('More'),
'#attributes'=> array(
'#title'=> t('Show more content'),
),
);
$container = array(
'#theme'=> 'container',
'#children'=> drupal_render($more_link),
'#attributes'=> array(
'class'=> array('more-link'),
),
);
$output = drupal_render($container);
?>