If Published

Component ID

1415030

Component name

If Published

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Almost non-existent module which demonstrates what you can do with hook_node_view_alter().

This example changes the visibility of fields based on whether the node is published.

Inspired by this question on stackexchange: http://drupal.stackexchange.com/questions/20480/