protected _generators ( string $method, string $name, array $options ) : array | ||
$method | string | The name of the helper method which was called, i.e. `'text'`, `'select'`, etc. |
$name | string | The name of the field whose attributes are being generated. Some helper methods, such as `create()` and `end()`, are not field-based, and therefore will have no name. |
$options | array | The options and HTML attributes that will be used to generate the helper output. |
return | array | Returns the value of the `$options` array, modified by the attribute generators added in the `'attributes'` key of the helper's configuration. Note that if a generator is present for a field whose value is `false`, that field will be removed from the array. |