I want to write my own custom profile plugin, but the problem is that the available tutorials (here and here) are a little outdated.
Right now I'm looking at the setFieldAttribute()
, the last argument is $group
, and the documentation says:
string $group The optional dot-separated form group path on which to find the field.
And a usage example is this:
$form->setFieldAttribute('address1', 'description', 'PLG_USER_PROFILE_EI_FILL_FIELD_DESC_SITE', 'profile');
Do I need to change the value to the name of my plugin or is it the same ('profile'
)?