function PanelizerEntityTaxonomyTerm::get_default_display in Panelizer 7.3
Same name and namespace in other branches
- 7.2 plugins/entity/PanelizerEntityTaxonomyTerm.class.php \PanelizerEntityTaxonomyTerm::get_default_display()
Provide a default display for newly panelized entities.
This should be implemented by the entity plugin.
Overrides PanelizerEntityDefault::get_default_display
File
- plugins/
entity/ PanelizerEntityTaxonomyTerm.class.php, line 53 - Class for the Panelizer taxonomy term entity plugin.
Class
- PanelizerEntityTaxonomyTerm
- Panelizer Entity taxonomy term 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);
}