DrupalWebTestCase::drupalCreateContentType in modules/simpletest/drupal_web_test_case.php
Creates a custom content type based on default settings.
example_profile_tasks in developer/example.profile
Perform any final installation tasks for this profile.
node_type_form_submit in modules/node/content_types.inc
Form submission handler for node_type_form().
standard_install in profiles/standard/standard.install
Implements hook_install().
_book_install_type_create in modules/book/book.install
Creates the book content type.
_node_types_build in modules/node/node.module
Builds and returns the list of available node types.