function type_style_entity_builder in Type Style 8
Entity builder for the Type Style form.
See also
1 string reference to 'type_style_entity_builder'
- type_style_form_alter in ./
type_style.module - Implements hook_form_alter().
File
- ./
type_style.module, line 92 - Hook implementations for the Type Style module.
Code
function type_style_entity_builder($entity_type, ThirdPartySettingsInterface $type, &$form, FormStateInterface $form_state) {
$style_values = $form_state
->getValue('type_style');
foreach ($style_values as $key => $value) {
$type
->setThirdPartySetting('type_style', $key, $value);
}
}