You are here

public function PanelizerEntityUser::entity_bundle_label in Panelizer 7.2

Same name and namespace in other branches
  1. 7.3 plugins/entity/PanelizerEntityUser.class.php \PanelizerEntityUser::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/PanelizerEntityUser.class.php, line 66
Class for the Panelizer taxonomy term entity plugin.

Class

PanelizerEntityUser
Panelizer Entity user plugin class.

Code

public function entity_bundle_label() {
  return t('User');
}