comparison noderef_view.module @ 9:b942365b70eb

Change the Action label to be more descriptive and simplify the warning. The code also pass the node title through theme('placeholder') to both ensure that it's safe for display /and/ pretty print it, by default by wrapping it in an <em />
author Franck Deroche <franck@defr.org>
date Tue, 27 Jan 2009 12:28:41 +0100
parents e3f85c9247b7
children e7a597640419
comparison
equal deleted inserted replaced
8:1f9c278126f9 9:b942365b70eb
21 * dans le champ Node Reference étant à l'origine de la recherche. 21 * dans le champ Node Reference étant à l'origine de la recherche.
22 */ 22 */
23 function noderef_view_action_info() { 23 function noderef_view_action_info() {
24 return array( 24 return array(
25 'noderef_view_select' => array( 25 'noderef_view_select' => array(
26 'description' => t('Select for later use'), 26 'description' => t('Add selected values to field'),
27 'type' => 'node', 27 'type' => 'node',
28 'configurable' => FALSE, 28 'configurable' => FALSE,
29 'hooks' => array( 29 'hooks' => array(
30 'nodeapi' => array() 30 'nodeapi' => array()
31 ) 31 )