Skip to content

Commit 892d8d8

Browse files
committed
Added taxonomy with triggerrules
1 parent 0554454 commit 892d8d8

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
/**
3+
* @file
4+
* os2web_cp_service.features.taxonomy.inc
5+
*/
6+
7+
/**
8+
* Implements hook_taxonomy_default_vocabularies().
9+
*/
10+
function os2web_cp_service_taxonomy_default_vocabularies() {
11+
return array(
12+
'os2web_cp_service_tax_approved_rules' => array(
13+
'name' => 'CP Approved Rules',
14+
'machine_name' => 'os2web_cp_service_tax_approved_rules',
15+
'description' => 'Trigger rules which are approved to be published',
16+
'hierarchy' => '0',
17+
'module' => 'taxonomy',
18+
'weight' => '0',
19+
'rdf_mapping' => array(
20+
'rdftype' => array(
21+
0 => 'skos:ConceptScheme',
22+
),
23+
'name' => array(
24+
'predicates' => array(
25+
0 => 'dc:title',
26+
),
27+
),
28+
'description' => array(
29+
'predicates' => array(
30+
0 => 'rdfs:comment',
31+
),
32+
),
33+
),
34+
),
35+
);
36+
}

0 commit comments

Comments
 (0)