[development] Hook_elements?

Karen Stevenson karen at elderweb.com
Wed Jan 23 17:09:20 UTC 2008


For a diagram of the FAPI workflow in D5 and D6, try http://drupal.org/node/165104. For instructions about how to create a custom element in D6, try http://drupal.org/node/169815.

Karen


----- Original Message ----
From: Richard Morse <REMORSE at PARTNERS.ORG>
To: development at drupal.org
Sent: Wednesday, January 23, 2008 10:03:24 AM
Subject: [development] Hook_elements?


Hi! 
Is 
there 
any 
good 
documentation 
about 
how 
to 
implement 
your 
own  
elements 
through 
hook_elements()? 
I 
must 
confess 
that 
the 
example  
file 
provided 
on 
api.drupal.org 
doesn't 
seem 
entirely 
clear 
to 
me 
--  
why 
do 
I 
want 
or 
not 
want 
'#input' 
to 
be 
true, 
when 
does 
'#process'  
get 
called 
(I 
tried 
to 
create 
my 
own 
element, 
but 
'#process' 
never  
got 
called), 
do 
I 
have 
to 
register 
the 
theme 
function 
via 
hook_theme 
(), 
what 
internal 
keys 
to 
the 
formapi 
should 
I 
be 
messing 
with, 
what  
are 
the 
standards 
for 
themeable 
elements 
-- 
is 
there 
any 
place 
I 
can  
go 
to 
find 
out 
these 
kinds 
of 
things?

Thanks,
Ricky

The 
information 
transmitted 
in 
this 
electronic 
communication 
is 
intended 
only
for 
the 
person 
or 
entity 
to 
whom 
it 
is 
addressed 
and 
may 
contain 
confidential
and/or 
privileged 
material. 
Any 
review, 
retransmission, 
dissemination 
or 
other
use 
of 
or 
taking 
of 
any 
action 
in 
reliance 
upon 
this 
information 
by 
persons 
or
entities 
other 
than 
the 
intended 
recipient 
is 
prohibited. 
If 
you 
received 
this
information 
in 
error, 
please 
contact 
the 
Compliance 
HelpLine 
at 
800-856-1983 
and
properly 
dispose 
of 
this 
information.








-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080123/311240be/attachment.htm 


More information about the development mailing list