Recognizing content-types publish settings

https://drupal.org/node/2152967