Get an array of default role types.
public static getDefaultTypes ( boolean $translate = true ) : array | ||
$translate | boolean | Whether or not to translate the type names. |
return | array | Returns an array in the form `[type => name]`. |
public static getDefaultTypes ( boolean $translate = true ) : array | ||
$translate | boolean | Whether or not to translate the type names. |
return | array | Returns an array in the form `[type => name]`. |