Closed (works as designed)
Project:
Drupal core
Version:
7.x-dev
Component:
node system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2009 at 06:59 UTC
Updated:
18 Sep 2011 at 19:13 UTC
Hi,
If I could make a wish it would be that the field promote would be settable in hook_node_info. This would allow module developers to set the default promote to true or false without having to do it every time the form is retrieved through hook_form_alter.
I think that many developers would like this option, I know that in my own modules I have done this often since I want my modules to work out of the box without any further settings that can be forgotten.
Comments
Comment #1
MiMe commentedWell, published => true/false,
comment => false/read/read+write would also be nice to be able set
...
Comment #2
jody lynnIf you want to preset that all your posts are 'promoted' then it sounds as though you are misusing the 'promoted' feature.