You are here

function paragraphs_bundle_title_callback in Paragraphs 7

Helper to get the title of a bundle.

Parameters

object $bundle: The bundle.

Return value

string A paragraphs bundle title.

1 string reference to 'paragraphs_bundle_title_callback'
paragraphs_menu in ./paragraphs.module
Implements hook_menu().

File

./paragraphs.admin.inc, line 318
Admin functions for the paragraphs module.

Code

function paragraphs_bundle_title_callback($bundle) {
  return t('Edit Paragraph Bundle !name', array(
    '!name' => $bundle->name,
  ));
}