function PanelizerEntityComment::get_default_display in Panelizer 7.3
Provide a default display for newly panelized entities.
This should be implemented by the entity plugin.
Overrides PanelizerEntityDefault::get_default_display
File
- plugins/
entity/ PanelizerEntityComment.class.php, line 48 - Class for the Panelizer comment entity plugin.
Class
- PanelizerEntityComment
- Panelizer Entity comment plugin class.
Code
function get_default_display($bundle, $view_mode) {
// For now we just go with the empty display.
// @todo come up with a better default display.
return parent::get_default_display($bundle, $view_mode);
}