You are here

function node_convert_provided_module_behaviors in Node Convert 7

Declare API compatibility on behalf of certain modules.

Return value

array

2 calls to node_convert_provided_module_behaviors()
node_convert.node_convert_behavior.inc in modules/node_convert.node_convert_behavior.inc
node_convert_invoke_all in ./node_convert.module
Instead of using module_invoke_all, we have to use the ctools pattern, because the module hooks are loaded dynamically by CTools.

File

./node_convert.module, line 592

Code

function node_convert_provided_module_behaviors() {
  $provided_module_behaviors = array(
    'xmlsitemap',
    'comment',
    'file',
  );

  // Allow modules to disable behavior plugins implemented on behalf of
  // node convert.
  drupal_alter(NODE_CONVERT_BEHAVIOR_PLUGIN, $provided_module_behaviors);
  return $provided_module_behaviors;
}