function ctools_context_node_add_form_convert

cis7 node_add_form.inc ctools_context_node_add_form_convert($context, $type)
cle7 node_add_form.inc ctools_context_node_add_form_convert($context, $type)
elmsmedia7 node_add_form.inc ctools_context_node_add_form_convert($context, $type)
icor7 node_add_form.inc ctools_context_node_add_form_convert($context, $type)
meedjum_blog7 node_add_form.inc ctools_context_node_add_form_convert($context, $type)
mooc7 node_add_form.inc ctools_context_node_add_form_convert($context, $type)

Convert a context into a string.

1 string reference to 'ctools_context_node_add_form_convert'
node_add_form.inc in sites/all/modules/ulmus/ctools/plugins/contexts/node_add_form.inc
Plugin to provide a node_add_form context

File

sites/all/modules/ulmus/ctools/plugins/contexts/node_add_form.inc, line 119
Plugin to provide a node_add_form context

Code

function ctools_context_node_add_form_convert($context, $type) {
  switch ($type) {
    case 'type':
      return $context->data->type;
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.