1 entityreference.module entityreference_load_selection_class($property)

Load a selection class for a given property.

Return value

string|null: The selection class or null if it is not found.

File

core/modules/entityreference/entityreference.module, line 1488
Entityreference primary module file.

Code

function entityreference_load_selection_class($property) {
  $plugins = _entityreference_selection_plugins();
  return !empty($plugins[$property]['class']) ? $plugins[$property]['class'] : NULL;
}