<commit_before>Migrations Helper plugin for Craft CMS
=================

Plugin that helps you write complex migrations.

__Important:__
The plugin's folder should be named "migrationshelper"

Helpers
=================

####addToFieldLayout###
```
/**
 * Append a field to a source's fieldlayout programmatically.
 *
 * @param string     $elementType The fieldlayout's Element Type
 * @param BaseModel  $source      The element's source (e.g. a SectionModel or CategoryGroupModel)
 * @param FieldModel $field       The field's model
 * @param string     $tabName     The fieldlayout's tab
 *
 * @return BaseModel
 */
 MigrationsHelper::addToFieldLayout($elementType, BaseModel $source, FieldModel $field, $tabName)
```

###changeFieldSettings###<commit_msg>Improved README<commit_after>Migrations Helper plugin for Craft CMS
=================

Plugin that helps you write complex migrations.

__Important:__
The plugin's folder should be named "migrationshelper"

Helpers
=================

####addToFieldLayout###
```
/**
 * Append a field to a source's fieldlayout programmatically.
 *
 * @param string     $elementType The fieldlayout's Element Type
 * @param BaseModel  $source      The element's source (e.g. a SectionModel or CategoryGroupModel)
 * @param FieldModel $field       The field's model
 * @param string     $tabName     The fieldlayout's tab
 *
 * @return BaseModel
 */
 MigrationsHelper::addToFieldLayout($elementType, BaseModel $source, FieldModel $field, $tabName)
```

####changeFieldSettings####
{'fraction_non_alphanumeric': 0.1383399209486166, 'fraction_numerical': 0.0, 'mean_word_length': 4.887596899224806, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '550513', 'n_tokens_mistral': 427, 'n_tokens_neox': 409, 'n_words': 140}