def settings(name = :global, &block)
      @settings ||= {}
      name = name.to_sym
      settings = (@settings[name] ||= SettingsManifest.new)
      yield(settings) if block
      settings
    end
def settings(name = :global, &block)
      @settings ||= {}
      name = name.to_sym
      settings = (@settings[name] ||= SettingsManifest.new)
      yield(settings) if block
      settings
    end
Public: Adds configurable attributes for this component, scoped to a name. It
 uses the DSL specified under `Decidim::SettingsManifest`.

 name - Either `global` or `step`
 &block - The DSL present on `Decidim::SettingsManifest`

 Examples:

   component.settings(:global) do |settings|
     settings.attribute :voting_enabled, type: :boolean, default: true
   end

 Returns nothing.