forked from CIT/Vmeda.Online
		
	MOBILE-3833 behat: Implement privacy provider
This commit is contained in:
		
							parent
							
								
									bcbecc48f2
								
							
						
					
					
						commit
						ea207e8d3e
					
				
							
								
								
									
										32
									
								
								scripts/templates/behat-plugin/classes/privacy/provider.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								scripts/templates/behat-plugin/classes/privacy/provider.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,32 @@
 | 
			
		||||
<?php
 | 
			
		||||
// This file is part of Moodle - http://moodle.org/
 | 
			
		||||
//
 | 
			
		||||
// Moodle is free software: you can redistribute it and/or modify
 | 
			
		||||
// it under the terms of the GNU General Public License as published by
 | 
			
		||||
// the Free Software Foundation, either version 3 of the License, or
 | 
			
		||||
// (at your option) any later version.
 | 
			
		||||
//
 | 
			
		||||
// Moodle is distributed in the hope that it will be useful,
 | 
			
		||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
// GNU General Public License for more details.
 | 
			
		||||
//
 | 
			
		||||
// You should have received a copy of the GNU General Public License
 | 
			
		||||
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
 | 
			
		||||
namespace local_moodleappbehat\privacy;
 | 
			
		||||
 | 
			
		||||
use core_privacy\local\metadata\null_provider;
 | 
			
		||||
 | 
			
		||||
defined('MOODLE_INTERNAL') || die();
 | 
			
		||||
 | 
			
		||||
class provider implements null_provider {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @inheritdoc
 | 
			
		||||
     */
 | 
			
		||||
    public static function get_reason() : string {
 | 
			
		||||
        return 'privacy_metadata';
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@ -1,3 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
$string['pluginname'] = 'Moodle App Behat (auto-generated)';
 | 
			
		||||
$string['privacy_metadata'] = 'This plugin should only be used in development environments, and it does not store any user data.';
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user