You are here

function panelizer_get_entity_plugin in Panelizer 7.2

Same name and namespace in other branches
  1. 7.3 panelizer.module \panelizer_get_entity_plugin()

Fetch a single entity plugin.

1 call to panelizer_get_entity_plugin()
panelizer_entity_plugin_get_handler in ./panelizer.module
Get the class to handle custom code for a given entity type plugin.

File

./panelizer.module, line 354
The Panelizer module attaches panels to entities, providing default panels and allowing each panel to be configured independently by privileged users.

Code

function panelizer_get_entity_plugin($entity_type) {
  ctools_include('plugins');
  return ctools_get_plugins('panelizer', 'entity', $entity_type);
}