C:/drupal/modules/node/content_types.inc File Reference

Go to the source code of this file.


Functions

 node_overview_types ()
 node_type_form (&$form_state, $type=NULL)
 node_type_form_validate ($form, &$form_state)
 node_type_form_submit ($form, &$form_state)
 node_node_type ($op, $info)
 node_type_reset (&$type)
 node_type_delete_confirm (&$form_state, $type)
 node_type_delete_confirm_submit ($form, &$form_state)


Detailed Description

Content type editing UI.

Definition in file content_types.inc.


Function Documentation

node_node_type ( op,
info 
)

Implementation of hook_node_type().

Definition at line 345 of file content_types.inc.

References $op, drupal_set_message(), and format_plural().

Here is the call graph for this function:

node_overview_types (  ) 

Displays the content type admin overview page.

Definition at line 12 of file content_types.inc.

References $header, $name, $row, $type, check_plain(), l(), t(), and theme().

Here is the call graph for this function:

node_type_delete_confirm ( &$  form_state,
type 
)

Menu callback; delete a single content type.

Definition at line 379 of file content_types.inc.

References $type, db_query(), db_result(), format_plural(), name, and t().

Here is the call graph for this function:

node_type_delete_confirm_submit ( form,
&$  form_state 
)

Process content type delete confirm submissions.

Definition at line 399 of file content_types.inc.

References drupal_set_message(), menu_rebuild(), t(), and watchdog().

Here is the call graph for this function:

node_type_form ( &$  form_state,
type = NULL 
)

Generates the node type editing form.

Definition at line 51 of file content_types.inc.

References $type, drupal_map_assoc(), module, name, t(), theme(), and variable_get().

Here is the call graph for this function:

node_type_form_submit ( form,
&$  form_state 
)

Implementation of hook_form_submit().

Definition at line 253 of file content_types.inc.

References $op, $status, $type, $value, drupal_set_message(), l(), menu_rebuild(), name, node_type_reset(), t(), variable_del(), variable_set(), and watchdog().

Here is the call graph for this function:

node_type_form_validate ( form,
&$  form_state 
)

Implementation of hook_form_validate().

Definition at line 219 of file content_types.inc.

References $type, form_set_error(), name, and t().

Here is the call graph for this function:

node_type_reset ( &$  type  ) 

Resets all of the relevant fields of a module-defined node type to their default values.

Parameters:
&$type The node type to reset. The node type is passed back by reference with its resetted values. If there is no module-defined info for this node type, then nothing happens.

Definition at line 364 of file content_types.inc.

References $type, $value, and module_invoke_all().

Referenced by node_type_form_submit().

Here is the call graph for this function:


Generated on Mon Jun 2 15:08:23 2008 for SimpleTest by  1.5.5