You are here

function opigno_options_list in Opigno 7

Implements hook_options_list().

File

./opigno.module, line 257
Contains all hook_implementations and module specific API.

Code

function opigno_options_list($field, $instance, $entity_type, $entity) {
  $options = array();
  foreach (opigno_get_tools() as $tool) {
    $options[$tool['machine_name']] = $tool['name'];
  }
  return $options;
}