materio-base-legacy/plugins/behavior/taxonomy-index.inc
bachy 4ef59776b0 update 7.1
Signed-off-by: bachy <git@g-u-i.net>
2012-12-08 11:59:44 +01:00

17 lines
529 B
PHP

<?php
/**
* @file
* CTools plugin declaration for taxonomy-index behavior.
*/
if (module_exists('taxonomy')) {
$plugin = array(
'title' => t('Taxonomy index'),
'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.'),
'class' => 'EntityReferenceBehavior_TaxonomyIndex',
'behavior type' => 'instance',
'force enabled' => TRUE,
);
}