You are here

function flag_features_export_render in Flag 7.3

Same name and namespace in other branches
  1. 6.2 includes/flag.features.inc \flag_features_export_render()
  2. 7.2 includes/flag.features.inc \flag_features_export_render()

Implements hook_features_export_render().

File

includes/flag.features.inc, line 65
Features integration for Flag module.

Code

function flag_features_export_render($module, $data) {
  module_load_include('inc', 'flag', '/includes/flag.export');
  $code = flag_export_flags($data, $module, '  ');
  return array(
    'flag_default_flags' => $code,
  );
}