You are here

public function PanelizerEntityInterface::get_enabled_view_modes in Panelizer 7.3

Identify the view modes that are enabled for use with Panelizer.

Parameters

string $bundle: The entity bundle to check.

Return value

array A list of view modes that are panelized.

1 method overrides PanelizerEntityInterface::get_enabled_view_modes()
PanelizerEntityDefault::get_enabled_view_modes in plugins/entity/PanelizerEntityDefault.class.php
Identify the view modes that are enabled for use with Panelizer.

File

plugins/entity/PanelizerEntityDefault.class.php, line 133
Base class for the Panelizer Entity plugin.

Class

PanelizerEntityInterface
Interface to describe how PanelizerEntity plugin objects are implemented.

Code

public function get_enabled_view_modes($bundle);