You are here

function panelizer_get_entity_plugin in Panelizer 7.3

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

Fetch a single entity plugin.

2 calls to panelizer_get_entity_plugin()
PanelizerTestHelper::togglePanelizer in tests/panelizer.helper.test
Helper function to quickly enable or disable Panelizer for an entity type.
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 694
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);
}