You are here

function block_access_features_export_options in Block Access 7

Implements hook_features_export_options().

Defines what shows up in the feature creation interface

File

./block_access.module, line 684

Code

function block_access_features_export_options() {
  $options = array();
  $q = db_query('SELECT DISTINCT module FROM {block_access_roles}');
  while ($module = $q
    ->fetchObject()) {
    $options[$module->module] = t('@module', array(
      '@module' => $module->module,
    ));
  }
  return $options;
}