You are here

function nodeformcols_nodeformcols_ctools_content_types in Node form columns 7

Callback function to supply a list of content types.

File

plugins/content_types/nodeformcols.inc, line 12
Renders the nodeformcols form in a panel pane. The entire panel is inside the <form> tag. Most of the code is from the CTools form.inc content type.

Code

function nodeformcols_nodeformcols_ctools_content_types() {
  return array(
    // only provides a single content type
    'single' => TRUE,
    'render last' => TRUE,
    'title' => t('Nodeformcols form'),
    'icon' => 'icon_form.png',
    'description' => t('A complete nodeformcols node form.'),
    'required context' => new ctools_context_required(t('Form'), 'form'),
    'category' => t('Form'),
  );
}