Mercurial > hg > rr-repo
diff sites/all/modules/entityreference/plugins/behavior/views-select-list.inc @ 4:ce11bbd8f642
added modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 19 Sep 2013 10:38:44 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sites/all/modules/entityreference/plugins/behavior/views-select-list.inc Thu Sep 19 10:38:44 2013 +0100 @@ -0,0 +1,10 @@ +<?php + +if (module_exists('views')) { + $plugin = array( + 'title' => t('Render Views filters as select list'), + 'description' => t('Provides a select list for Views filters on this field. This should not be used when there are over 100 entities, as it might cause an out of memory error.'), + 'class' => 'EntityReferenceBehavior_ViewsFilterSelect', + 'behavior type' => 'field', + ); +}