1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* CTools plugin declaration for taxonomy-index behavior.
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
if (module_exists('taxonomy')) {
|
9 |
|
|
$plugin = array(
|
10 |
|
|
'title' => t('Taxonomy index'),
|
11 |
|
|
'description' => t('Include the term references created by instances of this field carried by node entities in the core {taxonomy_index} table. This will allow various modules to handle them like core term_reference fields.'),
|
12 |
|
|
'class' => 'EntityReferenceBehavior_TaxonomyIndex',
|
13 |
|
|
'behavior type' => 'instance',
|
14 |
|
|
'force enabled' => TRUE,
|
15 |
|
|
);
|
16 |
|
|
} |