You are here

public function PanelizerEntityNode::entity_bundle_label in Panelizer 7.3

Same name and namespace in other branches
  1. 7.2 plugins/entity/PanelizerEntityNode.class.php \PanelizerEntityNode::entity_bundle_label()

Get the name of bundles on the entity.

Entity API doesn't give us a way to determine this, so the class must do this.

Return value

A translated, safe string.

Overrides PanelizerEntityDefault::entity_bundle_label

File

plugins/entity/PanelizerEntityNode.class.php, line 47
Class for the Panelizer node entity plugin.

Class

PanelizerEntityNode
Panelizer Entity node plugin class.

Code

public function entity_bundle_label() {
  return t('Node type');
}