public static function get_request_types() {
        return [
            api::DATAREQUEST_TYPE_EXPORT => get_string('requesttypeexport', 'tool_dataprivacy'),
            api::DATAREQUEST_TYPE_DELETE => get_string('requesttypedelete', 'tool_dataprivacy'),
            api::DATAREQUEST_TYPE_OTHERS => get_string('requesttypeothers', 'tool_dataprivacy'),
        ];
    }
public static function get_request_types() {
        return [
            api::DATAREQUEST_TYPE_EXPORT => get_string('requesttypeexport', 'tool_dataprivacy'),
            api::DATAREQUEST_TYPE_DELETE => get_string('requesttypedelete', 'tool_dataprivacy'),
            api::DATAREQUEST_TYPE_OTHERS => get_string('requesttypeothers', 'tool_dataprivacy'),
        ];
    }
public static function get_request_types ( ) { return [ api :: DATAREQUEST_TYPE_EXPORT => get_string ( 'requesttypeexport' , 'tool_dataprivacy' ) , api :: DATAREQUEST_TYPE_DELETE => get_string ( 'requesttypedelete' , 'tool_dataprivacy' ) , api :: DATAREQUEST_TYPE_OTHERS => get_string ( 'requesttypeothers' , 'tool_dataprivacy' ) , ] ; }
Returns the key value-pairs of request type code and their string value.

@return array
Returns the key value - pairs of request type code and their string value .