public function DynamicLayoutSettings::setColumnPrefix in Dynamic Layouts 8
Set the column prefix.
Parameters
string $column_prefix: The column prefix.
Overrides DynamicLayoutSettingsInterface::setColumnPrefix
File
- src/
Entity/ DynamicLayoutSettings.php, line 109
Class
- DynamicLayoutSettings
- Defines the DynamicLayoutSettings entity.
Namespace
Drupal\dynamic_layouts\EntityCode
public function setColumnPrefix($column_prefix) {
$settings = unserialize($this->settings);
$settings[Constants::COLUMN_PREFIX] = $column_prefix;
$this->settings = serialize($settings);
}