You are here

function block_class_features_export_options in Block Class 7

Implements hook_features_export_options().

File

./block_class.features.inc, line 11
Integration with the Features module API.

Code

function block_class_features_export_options() {
  $query = db_select('block_class', 'bc');
  $query
    ->addExpression("CONCAT(bc.module, ':', bc.delta)");
  $blocks = $query
    ->execute()
    ->fetchAllKeyed(0, 0);
  natcasesort($blocks);
  return $blocks;
}