Commit ec25568c authored by webchick's avatar webchick

#401214 by Xano: Make custom block body required so it's not possible to...

#401214 by Xano: Make custom block body required so it's not possible to create blocks that don't show up.
parent c9fec850
...@@ -386,6 +386,7 @@ function block_box_form($edit = array()) { ...@@ -386,6 +386,7 @@ function block_box_form($edit = array()) {
'#text_format' => isset($edit['format']) ? $edit['format'] : FILTER_FORMAT_DEFAULT, '#text_format' => isset($edit['format']) ? $edit['format'] : FILTER_FORMAT_DEFAULT,
'#rows' => 15, '#rows' => 15,
'#description' => t('The content of the block as shown to the user.'), '#description' => t('The content of the block as shown to the user.'),
'#required' => TRUE,
'#weight' => -17, '#weight' => -17,
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment