Overview of Plugin Configuration


Although different plugins appear to have nothing in common, they all share the same basic layout:

 

name_of_field:
  class: PluginName
  label: This is a label for some Field
  value: default_value
  attributes:
    att_name1: att_value1
    att_name2: att_value2
  params:
    ...

 

The place where plugins differentiate is in the params directive, which is special to each plugin. As you might have realized, the examples bundled with the download don't define label, value, or attributes directive, that is because all of those are optional. The only required directive is the class.