Implements hook_entity_bundle_info().
function taxonomy_entity_bundle_info() {
$bundles = array();
foreach (taxonomy_vocabulary_get_names() as $id) {
$config = config('taxonomy.vocabulary.' . $id);
$bundles['taxonomy_term'][$id]['label'] = $config
->get('name');
}
return $bundles;
}