You are here

public function PanelizerEntityComment::entity_bundle_label in Panelizer 7.3

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/PanelizerEntityComment.class.php, line 44
Class for the Panelizer comment entity plugin.

Class

PanelizerEntityComment
Panelizer Entity comment plugin class.

Code

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