You are here

function drush_exif_list in Exif 7

Same name and namespace in other branches
  1. 8.2 exif.drush.inc \drush_exif_list()
  2. 8 exif.drush.inc \drush_exif_list()

Drush callback;

File

./exif.drush.inc, line 57

Code

function drush_exif_list() {
  $types = __drush_exif_list_active_types();
  drush_log(t('listing %count content types.', array(
    '%count' => count($types),
  )), 'ok');
  foreach ($types as $type) {
    drush_log(t('- %entity, %type.', array(
      '%entity' => $type['entity'],
      '%type' => $type['type'],
    )), 'ok');
  }
}