function MultiWidthLayoutBase::submitConfigurationForm
Overrides LayoutDefault::submitConfigurationForm
File
-
core/
modules/ layout_builder/ src/ Plugin/ Layout/ MultiWidthLayoutBase.php, line 44
Class
- MultiWidthLayoutBase
- Base class of layouts with configurable widths.
Namespace
Drupal\layout_builder\Plugin\LayoutCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
parent::submitConfigurationForm($form, $form_state);
$this->configuration['column_widths'] = $form_state->getValue('column_widths');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.