/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {ldelim}
- return {$tsFunctionName}('{$table.title}');
+ public static function getEntityTitle($plural = FALSE) {ldelim}
+ return $plural ? {$tsFunctionName}('{$table.titlePlural}') : {$tsFunctionName}('{$table.title}');
{rdelim}