How to hide node webform programatically? I want to make hide WEBFORM  particular content type programmatically in default / custom mode.
Any help will be appreciable.
Try implementing hook_node_view.Then you can put your condition on $node-&gt;type, access the webform with $node-&gt;webform and use $view_mode to load the current view mode.