You are here

public function PanelizerEntityInterface::get_available_view_modes in Panelizer 7.3

Identify the view modes that are available for use with this entity bundle.

Parameters

string $bundle: The entity bundle to check. Defaults to '0', which will check for view modes that are available by default for all entities.

Return value

array A list of view modes that are available to be panelized.

1 method overrides PanelizerEntityInterface::get_available_view_modes()
PanelizerEntityDefault::get_available_view_modes in plugins/entity/PanelizerEntityDefault.class.php
Identify the view modes that are available for use with this entity bundle.

File

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

Class

PanelizerEntityInterface
Interface to describe how PanelizerEntity plugin objects are implemented.

Code

public function get_available_view_modes($bundle = 0);