original_string: private static function base_options($includenotset = true, $includeinherit = true) {
  
          $options = [];
  
          if ($includenotset) {
              $options[\tool_dataprivacy\context_instance::NOTSET] = get_string('notset', 'tool_dataprivacy');
          }
  
          if ($includeinherit) {
              $options[\tool_dataprivacy\context_instance::INHERIT] = get_string('inherit', 'tool_dataprivacy');
          }
  
          return $options;
      }
code: private static function base_options($includenotset = true, $includeinherit = true) {
  
          $options = [];
  
          if ($includenotset) {
              $options[\tool_dataprivacy\context_instance::NOTSET] = get_string('notset', 'tool_dataprivacy');
          }
  
          if ($includeinherit) {
              $options[\tool_dataprivacy\context_instance::INHERIT] = get_string('inherit', 'tool_dataprivacy');
          }
  
          return $options;
      }
code_tokens: private static function base_options ( $ includenotset = true , $ includeinherit = true ) { $ options = [ ] ; if ( $ includenotset ) { $ options [ \ tool_dataprivacy \ context_instance :: NOTSET ] = get_string ( 'notset' , 'tool_dataprivacy' ) ; } if ( $ includeinherit ) { $ options [ \ tool_dataprivacy \ context_instance :: INHERIT ] = get_string ( 'inherit' , 'tool_dataprivacy' ) ; } return $ options ; }
docstring: Base not set and inherit options.
  
  @param bool $includenotset
  @param bool $includeinherit
  @return array
docstring_tokens: Base not set and inherit options .