Mercurial > hg > rr-repo
annotate sites/all/modules/entityreference/plugins/behavior/taxonomy-index.inc @ 4:ce11bbd8f642
added modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 19 Sep 2013 10:38:44 +0100 |
parents | |
children |
rev | line source |
---|---|
danielebarchiesi@4 | 1 <?php |
danielebarchiesi@4 | 2 |
danielebarchiesi@4 | 3 /** |
danielebarchiesi@4 | 4 * @file |
danielebarchiesi@4 | 5 * CTools plugin declaration for taxonomy-index behavior. |
danielebarchiesi@4 | 6 */ |
danielebarchiesi@4 | 7 |
danielebarchiesi@4 | 8 if (module_exists('taxonomy')) { |
danielebarchiesi@4 | 9 $plugin = array( |
danielebarchiesi@4 | 10 'title' => t('Taxonomy index'), |
danielebarchiesi@4 | 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.'), |
danielebarchiesi@4 | 12 'class' => 'EntityReferenceBehavior_TaxonomyIndex', |
danielebarchiesi@4 | 13 'behavior type' => 'instance', |
danielebarchiesi@4 | 14 'force enabled' => TRUE, |
danielebarchiesi@4 | 15 ); |
danielebarchiesi@4 | 16 } |