Skip to content
Snippets Groups Projects
Commit 383ef98f authored by Alex Barth's avatar Alex Barth
Browse files

Make vocabulary() public, will need to be used by modules like geotaxonomy.

parent 7ecebc72
No related branches found
No related tags found
No related merge requests found
...@@ -218,7 +218,7 @@ class FeedsTermProcessor extends FeedsProcessor { ...@@ -218,7 +218,7 @@ class FeedsTermProcessor extends FeedsProcessor {
* effort to use the vocabulary.module field as machine name to make * effort to use the vocabulary.module field as machine name to make
* vocabularies exportable. * vocabularies exportable.
*/ */
protected function vocabulary() { public function vocabulary() {
$vocabularies = taxonomy_get_vocabularies(); $vocabularies = taxonomy_get_vocabularies();
if (is_numeric($this->config['vocabulary'])) { if (is_numeric($this->config['vocabulary'])) {
return $vocabularies[$this->config['vocabulary']]; return $vocabularies[$this->config['vocabulary']];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment