Created
May 26, 2013 10:46
-
-
Save flashvnn/5652405 to your computer and use it in GitHub Desktop.
Create html text editor Form API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$form[ConfigureNode::BANNER_TOP_CF."_text"] = array( | |
'#type' => 'text_format', | |
'#title' => t('Banner Description'), | |
'#rows' => 5, | |
'#resizable' => FALSE, | |
'#default_value' => variable_get(ConfigureNode::BANNER_TOP_CF."_text", ""), | |
'#format' => 'full_html' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment