original_string: public function settingsDefaultValues(Event $event, Entity $plugin)
      {
          if ($plugin->has('name')) {
              return (array)$this->trigger("Plugin.{$plugin->name}.settingsDefaults", $plugin)->result;
          }
  
          return [];
      }
code: public function settingsDefaultValues(Event $event, Entity $plugin)
      {
          if ($plugin->has('name')) {
              return (array)$this->trigger("Plugin.{$plugin->name}.settingsDefaults", $plugin)->result;
          }
  
          return [];
      }
code_tokens: public function settingsDefaultValues ( Event $ event , Entity $ plugin ) { if ( $ plugin -> has ( 'name' ) ) { return ( array ) $ this -> trigger ( "Plugin.{$plugin->name}.settingsDefaults" , $ plugin ) -> result ; } return [ ] ; }
docstring: Here we set default values for plugin's settings.
  
  Triggers the `Plugin.<PluginName>.settingsDefaults` event, event listeners
  should catch the event and return an array as `key` => `value` with default
  values.
  
  @param \Cake\Event\Event $event The event that was triggered
  @param \Cake\ORM\Entity $plugin The plugin entity where to put those values
  @return array
docstring_tokens: Here we set default values for plugin s settings .