This function returns the Category (not the name) of the widget. The Category is used for sorting in the widget collection and automatically translated into the user language.
The widget is assigned to the default Category General if this function is not overwritten in the widget. If the return value does not correspond to an existing Category, the widget is listed in the default Category General.
Please note: The Category has no effect on the permission to display. This must be implemented in the isAuthorized method.
Example:
public function getCategory()
{
return 'administration';
}