function content_content_register_content_type

6.x content.module content_content_register_content_type()
4.x content.module content_content_register_content_type()
5.x content.module content_content_register_content_type()

Implementation of this module's hook_content_register_content_type.

I mainly just want to register the "page" content type, for a basic web page set up.

File

modules/content/content.module, line 2582

Code

function content_content_register_content_type() {
  $arr ['page'] = array(
    'title' => 'Page',
    'description' => 'This is a basic, publicly visible web page.',
  );

  $fields ['body'] = array(
    'type' => 'textarea_editor',
    'label' => '',
    'filter' => 'basic',
  );

  $arr ['page']['fields'] = $fields;




  return $arr;

}