Commit dcd1762d authored by markfullmer's avatar markfullmer Committed by Mark Fullmer

Issue #3092834 by mark_fullmer, Charlie ChX Negyesi: Config files missing

parent cc7d23fd
views_enabled: '0'
views_tablesaw_mode: stack
responsive_tables_filter.settings:
type: config_object
mapping:
views_enabled:
type: string
label: "Views enabled"
views_tablesaw_mode:
type: string
label: "Views tablesaw mode"
<?php
/**
* @file
* Responsive Tables Filter install file.
*/
/**
* Set initial responsive tables filter settings for existing sites.
*/
function responsive_tables_filter_update_8001() {
$config_factory = \Drupal::configFactory();
$config = $config_factory->getEditable('responsive_tables_filter.settings');
$config->set('views_enabled', '0');
$config->set('views_tablesaw_mode', 'Stack Mode');
$config->save();
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment