current.inc in Entityreference Current 7
File
plugins/behavior/current.incView source
<?php
$plugin = array(
'title' => t('Entity reference current'),
'description' => t('Prepopulates entity reference value from Current Entity on the page.'),
'class' => 'EntityReferenceCurrentInstanceBehavior',
'behavior type' => 'instance',
);