39 lines
888 B
PHP
39 lines
888 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* popsu_documents.features.taxonomy.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_taxonomy_default_vocabularies().
|
|
*/
|
|
function popsu_documents_taxonomy_default_vocabularies() {
|
|
return array(
|
|
'popsu_documents_type' => array(
|
|
'name' => 'Type de document',
|
|
'machine_name' => 'popsu_documents_type',
|
|
'description' => 'Permet de préciser le type du document joint',
|
|
'hierarchy' => '0',
|
|
'module' => 'taxonomy',
|
|
'weight' => '-7',
|
|
'language' => 'und',
|
|
'i18n_mode' => '0',
|
|
'rdf_mapping' => array(
|
|
'rdftype' => array(
|
|
0 => 'skos:ConceptScheme',
|
|
),
|
|
'name' => array(
|
|
'predicates' => array(
|
|
0 => 'dc:title',
|
|
),
|
|
),
|
|
'description' => array(
|
|
'predicates' => array(
|
|
0 => 'rdfs:comment',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|