1 entityreference.module | entityreference_load_selection_class($property) |
Load a selection class for a given property.
File
- core/
modules/ entityreference/ entityreference.module, line 1481 - Entityreference primary module file.
Code
function entityreference_load_selection_class($property) {
$plugins = _entityreference_selection_plugins();
return !empty($plugins[$property]['class']) ? $plugins[$property]['class'] : NULL;
}