function widgets_widgets_element_info in Widgets 7
Implements hook_widgets_element_info().
File
- ./
widgets.elements.inc, line 11 - Implements widgets API to create base elements
Code
function widgets_widgets_element_info() {
$elements = array(
'widgets_custom-markup' => array(
'label' => t('Custom markup'),
'help' => t('Enables custom input of text and markup'),
'group' => t('Misc'),
'template' => '[?text=test?]',
'form callback' => 'widgets_template_custom_markup_form',
),
);
return $elements;
}