You are here

function ccl_features_export_options in Custom Contextual Links 7

Same name and namespace in other branches
  1. 8 ccl.features.inc \ccl_features_export_options()

Implements hook_features_export_options().

File

./ccl.features.inc, line 10
Integrates Features for Custom Contextual Links.

Code

function ccl_features_export_options() {
  $presets = array();
  foreach (ccl_get_presets() as $preset) {
    $key = $preset->title . '||ID' . $preset->clid;
    $presets[$key] = $preset->title . ' [ID: ' . $preset->clid . ']';
  }
  return $presets;
}