diff --git a/CHANGELOG.md b/CHANGELOG.md index e2999d3516d118d69d742f4ccb2a5320fe41c447..205016fa429c92b1324e58f65aa19681fcc80e04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,10 @@ * Issue #2906983: Updated [content lock] module from 8.1.0-alpha3 to 8.1.0-alpha4 * Issue #2907387: Update [Search API] module from 8.1.3 to 8.1.4 +* Issue #2907437: Updated [Varbase Bootstrap Paragraphs] feature module + from 8.4.0-alpha4 8.4.0-alpha5 to have the update process + for the type color widget in the form view mode for + paragraph types. ### Fixes since the last release: * Issue #2904323: Fixed Vartheme and Vartheme Subtheme print logo diff --git a/modules/varbase_features/varbase_core/varbase_core.module b/modules/varbase_features/varbase_core/varbase_core.module index ff33793450aedcee1b94309ddbd839e5a022a2fe..7641ffa03f8fd2e76e75675a368dd003824e3062 100644 --- a/modules/varbase_features/varbase_core/varbase_core.module +++ b/modules/varbase_features/varbase_core/varbase_core.module @@ -1,2 +1,9 @@ <?php + +/** + * @file + * Contains varbase_core.module. + */ + +// To have all varbase core general and global tokens. module_load_include('inc', 'varbase_core', 'varbase_core.tokens'); diff --git a/modules/varbase_features/varbase_core/varbase_core.tokens.inc b/modules/varbase_features/varbase_core/varbase_core.tokens.inc index 5ebb83088d1a4f86b7eb0399ac9de2d1322ab611..b47f18e3e42feb18d469f005dafc807ee99702a8 100644 --- a/modules/varbase_features/varbase_core/varbase_core.tokens.inc +++ b/modules/varbase_features/varbase_core/varbase_core.tokens.inc @@ -1,5 +1,14 @@ <?php +/** + * @file + * Contains varbase_core.tokens.inc. + */ + + /** + * To have all varbase core general and global tokens. + */ + use Drupal\Core\Render\BubbleableMetadata; /** diff --git a/modules/varbase_features/varbase_media/css/varbase_media.common.css b/modules/varbase_features/varbase_media/css/varbase_media.common.css index 594f80944696684f146b4aa8d015369916a464f7..6f0d7b85222b6ae69d861c17dced532a55ec0db2 100644 --- a/modules/varbase_features/varbase_media/css/varbase_media.common.css +++ b/modules/varbase_features/varbase_media/css/varbase_media.common.css @@ -77,4 +77,4 @@ figure.align-left figcaption { display: table-caption; caption-side: bottom; } -/*# sourceMappingURL=varbase_media.common.css.map */ \ No newline at end of file +/*# sourceMappingURL=varbase_media.common.css.map */ diff --git a/modules/varbase_features/varbase_media/css/varbase_media.common_logged.css b/modules/varbase_features/varbase_media/css/varbase_media.common_logged.css index d0712b9ae70c6ccbe02e67d4bf032ee2b8ed7ce2..0753333a45fd35c2ac5f29bfbfa7cbcf627d6b45 100644 --- a/modules/varbase_features/varbase_media/css/varbase_media.common_logged.css +++ b/modules/varbase_features/varbase_media/css/varbase_media.common_logged.css @@ -193,4 +193,4 @@ form.media-image-edit-form > .field--type-image.field--widget-image-image > div float: right; margin-right: 4%; } -/*# sourceMappingURL=varbase_media.common_logged.css.map */ \ No newline at end of file +/*# sourceMappingURL=varbase_media.common_logged.css.map */ diff --git a/modules/varbase_features/varbase_media/varbase_media.install b/modules/varbase_features/varbase_media/varbase_media.install index 361d9712a26dc11c74f909c52664a6f2a410e27d..9d7f42f4f8d3fc4b1abe797f9067250d49482f42 100644 --- a/modules/varbase_features/varbase_media/varbase_media.install +++ b/modules/varbase_features/varbase_media/varbase_media.install @@ -6,15 +6,6 @@ */ use Symfony\Component\Yaml\Yaml; -use Drupal\embed\Entity\EmbedButton; -use Drupal\file\Entity\File; - -/** - * Implements hook_install(). - */ -function varbase_media_install() { - // Insert your varbase media custom install operation. -} /** * Enable blazy module. @@ -70,7 +61,8 @@ function varbase_media_update_8005() { /** * Issue #2893965: [Varbase Media] Media (image) widget field preview. - * Updated field preview image meida view mode. + * + * Updated field preview image meida view mode. */ function varbase_media_update_8006() { $image_style_field_preview_config = \Drupal::service('config.factory')->getEditable('image.style.field_preview'); @@ -82,7 +74,8 @@ function varbase_media_update_8006() { /** * Issue #2905259: Added ALT and TITLE columns for images. - * In Media content page admin/content/media. + * + * In Media content page admin/content/media. */ function varbase_media_update_8007() { $config = \Drupal::configFactory()->getEditable('views.view.media'); diff --git a/modules/varbase_features/varbase_security/varbase_security.install b/modules/varbase_features/varbase_security/varbase_security.install index db7ec6ef40fbe36d5a8dcd2ad52e41c01c3236ca..014f035a49427d7b1aa4b892cbf577b646e6d8a5 100644 --- a/modules/varbase_features/varbase_security/varbase_security.install +++ b/modules/varbase_features/varbase_security/varbase_security.install @@ -15,7 +15,7 @@ function varbase_security_update_8001() { } /** - * Enable Password Character Length Policy module. + * Enable Password Character Length Policy module. */ function varbase_security_update_8002() { if (!\Drupal::moduleHandler()->moduleExists('password_policy_length')) { diff --git a/modules/varbase_features/varbase_seo/varbase_seo.install b/modules/varbase_features/varbase_seo/varbase_seo.install index 351064f3b1fd2e3aa7d968a2de5dc56cc16d8aa0..5a9ea90ca8a9d8e14f66d142448f86f6aba0d5f3 100644 --- a/modules/varbase_features/varbase_seo/varbase_seo.install +++ b/modules/varbase_features/varbase_seo/varbase_seo.install @@ -5,8 +5,6 @@ * Install, update and uninstall functions for the Varbase SEO module. */ -use Symfony\Component\Yaml\Yaml; - /** * Enable Metatag: Facebook module. */ @@ -15,7 +13,7 @@ function varbase_seo_update_8001() { \Drupal::service('module_installer')->install(['metatag_facebook'], FALSE); } } - + /** * Enable Metatag: Google Plus module. */ @@ -24,7 +22,7 @@ function varbase_seo_update_8002() { \Drupal::service('module_installer')->install(['metatag_google_plus'], FALSE); } } - + /** * Enable Metatag: hreflang module. */ @@ -33,7 +31,7 @@ function varbase_seo_update_8003() { \Drupal::service('module_installer')->install(['metatag_hreflang'], FALSE); } } - + /** * Enable Metatag: Mobile & UI Adjustments module. */ @@ -42,7 +40,7 @@ function varbase_seo_update_8004() { \Drupal::service('module_installer')->install(['metatag_mobile'], FALSE); } } - + /** * Enable Metatag: Open Graph module. */ @@ -51,7 +49,7 @@ function varbase_seo_update_8005() { \Drupal::service('module_installer')->install(['metatag_open_graph'], FALSE); } } - + /** * Enable Metatag: Twitter Cards module. */ @@ -60,7 +58,7 @@ function varbase_seo_update_8006() { \Drupal::service('module_installer')->install(['metatag_twitter_cards'], FALSE); } } - + /** * Enable Metatag: Verification module. */ @@ -69,7 +67,7 @@ function varbase_seo_update_8007() { \Drupal::service('module_installer')->install(['metatag_verification'], FALSE); } } - + /** * Enable Real-time SEO for Drupal module. */ @@ -78,7 +76,7 @@ function varbase_seo_update_8008() { \Drupal::service('module_installer')->install(['yoast_seo'], FALSE); } } - + /** * Enable Simple XML Sitemap module. */ @@ -87,7 +85,7 @@ function varbase_seo_update_8009() { \Drupal::service('module_installer')->install(['simple_sitemap'], FALSE); } } - + /** * Enable Google Analytics module. */ @@ -96,7 +94,7 @@ function varbase_seo_update_8010() { \Drupal::service('module_installer')->install(['google_analytics'], FALSE); } } - + /** * Enable Redirect 404 module. */ diff --git a/modules/varbase_features/varbase_seo/varbase_seo.module b/modules/varbase_features/varbase_seo/varbase_seo.module index 4bae31c6b5e201e16eec2f77300e5f5dc6aed954..80578dbc557a47d575bfa466cd635583b94df8f1 100644 --- a/modules/varbase_features/varbase_seo/varbase_seo.module +++ b/modules/varbase_features/varbase_seo/varbase_seo.module @@ -14,7 +14,7 @@ function varbase_seo_form_node_form_alter(&$form, FormStateInterface $form_state if (isset($form['field_yoast_seo']) && isset($form['field_yoast_seo']['widget']) && isset($form['field_yoast_seo']['widget']['0']) && - isset($form['field_yoast_seo']['widget']['0']['yoast_seo'])){ + isset($form['field_yoast_seo']['widget']['0']['yoast_seo'])) { $form['field_yoast_seo']['widget']['0']['yoast_seo']['#title'] = t('Real-time SEO analyzer'); } } diff --git a/src/Config/ConfigBit.php b/src/Config/ConfigBit.php index fa3b6fafab6e5bdcfc62d0e60bba242f3859e104..fdcdad2502bf821f5fc303d8b5ceba4025c7460d 100644 --- a/src/Config/ConfigBit.php +++ b/src/Config/ConfigBit.php @@ -8,7 +8,7 @@ use Symfony\Component\Yaml\Yaml; * Defines config bit to help in managing custom config which used in install. */ class ConfigBit { - + /** * Get Config Bit file. * @@ -16,10 +16,8 @@ class ConfigBit { * * @param string $config_bit_file_name * Config bit file name in the root configbit folder. - * * @param string $type * Config bit file source type (profile / module). - * * @param string $project * Config bit file source eg. varbase. * @@ -29,8 +27,8 @@ class ConfigBit { */ public static function getConfigBit($config_bit_file_name, $type = 'profile', $project = 'varbase') { - // Generate full path to config file - $full_config_bit_file_name = drupal_get_path($type, $project) . '/' . $config_bit_file_name; + // Generate full path to config file. + $full_config_bit_file_name = drupal_get_path($type, $project) . '/' . $config_bit_file_name; if (file_exists($full_config_bit_file_name)) { // Pars the config bit file and have it as an array if it was not. $config_bit_data = (array) Yaml::parse(file_get_contents($full_config_bit_file_name)); @@ -45,27 +43,26 @@ class ConfigBit { throw new \Exception('Config bit file does not exist!'); } } - + /** * Do we have this cofnigbit file. - * + * * @param string $config_bit_file_name * Config bit file name in the root configbit folder. - * * @param string $type * Config bit file source type (profile / module). - * * @param string $project * Config bit file source eg. varbase. - * - * @return bool + * + * @return boolan + * True/False if the file exists. */ public static function doWeHaveThisConfigBit($config_bit_file_name, $type = 'profile', $project = 'varbase') { - // Generate full path to config file - $full_config_bit_file_name = drupal_get_path($type, $project) . '/' . $config_bit_file_name; + // Generate full path to config file. + $full_config_bit_file_name = drupal_get_path($type, $project) . '/' . $config_bit_file_name; return file_exists($full_config_bit_file_name); } - + /** * Get a list of sub list of config. * @@ -126,7 +123,7 @@ class ConfigBit { && isset($config_bit_data['action']['archive_files']['files'])) { foreach ($config_bit_data['action']['archive_files']['files'] as $language_config_file) { - $config_file = drupal_get_path($type, $project) . '/' . $language_config_file; + $config_file = drupal_get_path($type, $project) . '/' . $language_config_file; if (file_exists($config_file)) { $config_file_backup = $config_file . $config_bit_data['action']['archive_files']['archive_extensiton']; file_unmanaged_move($config_file, $config_file_backup); @@ -157,7 +154,7 @@ class ConfigBit { && isset($config_bit_data['action']['unarchive_files']['files'])) { foreach ($config_bit_data['action']['unarchive_files']['files'] as $language_config_file) { - $config_file = drupal_get_path($type, $project) . '/' . $language_config_file; + $config_file = drupal_get_path($type, $project) . '/' . $language_config_file; $config_file_backup = $config_file . $config_bit_data['action']['unarchive_files']['archive_extensiton']; if (!file_exists($config_file) && file_exists($config_file_backup)) { file_unmanaged_move($config_file_backup, $config_file); @@ -185,7 +182,7 @@ class ConfigBit { && $config_bit_data['type'] == 'action' && isset($config_bit_data['for']) && !empty($config_bit_data['for']) - && file_exists(drupal_get_path($type, $project) . '/' . $config_bit_data['for']) + && file_exists(drupal_get_path($type, $project) . '/' . $config_bit_data['for']) && isset($config_bit_data['action']) && isset($config_bit_data['action']['add']) && isset($config_bit_data['action']['add']['when']) @@ -208,7 +205,7 @@ class ConfigBit { $updated_config_target = Yaml::dump($config_target_data, 2, 2); // Save the updated config to the target file. - file_put_contents(drupal_get_path($type, $project) . '/' . $config_bit_data['for'], $updated_config_target); + file_put_contents(drupal_get_path($type, $project) . '/' . $config_bit_data['for'], $updated_config_target); } } @@ -232,7 +229,7 @@ class ConfigBit { && $config_bit_data['type'] == 'action' && isset($config_bit_data['for']) && $config_bit_data['for'] !== '' - && file_exists(drupal_get_path($type, $project) . '/' . $config_bit_data['for']) + && file_exists(drupal_get_path($type, $project) . '/' . $config_bit_data['for']) && isset($config_bit_data['action']) && isset($config_bit_data['action']['remove']) && isset($config_bit_data['action']['remove']['when']) @@ -243,7 +240,7 @@ class ConfigBit { && isset($config_bit_data['action']['remove'][$target])) { // Read the Yaml config file. which this config bit for. - $config_target_data = Yaml::parse(file_get_contents(drupal_get_path($type, $project) . '/' . $config_bit_data['for'])); + $config_target_data = Yaml::parse(file_get_contents(drupal_get_path($type, $project) . '/' . $config_bit_data['for'])); $configs_to_remove = $config_bit_data['action']['remove'][$target]; foreach ($configs_to_remove as $config_to_remove) { @@ -257,7 +254,7 @@ class ConfigBit { $updated_config_target = Yaml::dump($config_target_data, 2, 2); // Save the updated config to the target file. - file_put_contents(drupal_get_path($type, $project) . '/' . $config_bit_data['for'], $updated_config_target); + file_put_contents(drupal_get_path($type, $project) . '/' . $config_bit_data['for'], $updated_config_target); } } diff --git a/src/Form/AssemblerForm.php b/src/Form/AssemblerForm.php index 25924367681f1ff860f3e5c12f3ae31908a143a4..1db04597ddcc3f4c87f38ee107793eea2a932e9f 100644 --- a/src/Form/AssemblerForm.php +++ b/src/Form/AssemblerForm.php @@ -72,7 +72,7 @@ class AssemblerForm extends FormBase { public function getFormId() { return 'varbase_extra_components'; } - + /** * {@inheritdoc} * @@ -88,33 +88,33 @@ class AssemblerForm extends FormBase { '#suffix' => '</p>', ]; - // Extra Features. + // Extra Features. $extraFeatures = ConfigBit::getList('configbit/extra.components.varbase.bit.yml', 'show_extra_components', TRUE, 'dependencies', 'profile', 'varbase'); if (count($extraFeatures)) { - + $form['extra_features'] = [ '#type' => 'fieldset', '#title' => $this->t('Site features'), ]; - + foreach ($extraFeatures as $extra_feature_key => $extra_feature_info) { - + $checkbox_title = ''; $checkbox_description = ''; $checkbox_selected = FALSE; - + if (isset($extra_feature_info['title'])) { $checkbox_title = $extra_feature_info['title']; } - + if (isset($extra_feature_info['description'])) { $checkbox_description = $extra_feature_info['description']; } - + if (isset($extra_feature_info['selected'])) { $checkbox_selected = $extra_feature_info['selected']; } - + $form['extra_features'][$extra_feature_key] = [ '#type' => 'checkbox', '#title' => $checkbox_title, @@ -122,7 +122,7 @@ class AssemblerForm extends FormBase { '#default_value' => $checkbox_selected, ]; - if (isset ($extra_feature_info['config_form']) && + if (isset($extra_feature_info['config_form']) && $extra_feature_info['config_form'] == TRUE) { $form['extra_features'][$extra_feature_key . '_config'] = [ '#type' => 'fieldset', @@ -136,22 +136,27 @@ class AssemblerForm extends FormBase { ], ], ]; - + if (isset($extra_feature_info['formbit'])) { $formbit_file_name = drupal_get_path('profile', 'varbase') . '/' . $extra_feature_info['formbit']; if (file_exists($formbit_file_name)) { include_once $formbit_file_name; // Add configuration form element in the formbit position. - call_user_func_array($extra_feature_key . "_build_formbit", array(&$form['extra_features'][$extra_feature_key . '_config'], &$form_state, &$install_state)); + call_user_func_array($extra_feature_key . "_build_formbit", + array(&$form['extra_features'][$extra_feature_key . '_config'], + &$form_state, + &$install_state, + ) + ); } } - + } } } - + // Demo Content. $demoContent = ConfigBit::getList('configbit/demo.content.varbase.bit.yml', 'show_demo', TRUE, 'dependencies', 'profile', 'varbase'); if (count($demoContent) > 0) { @@ -159,32 +164,32 @@ class AssemblerForm extends FormBase { '#type' => 'fieldset', '#title' => $this->t('Demo content'), ]; - + foreach ($demoContent as $demo_content_key => $demo_content_info) { - + $checkbox_title = ''; $checkbox_description = ''; $checkbox_selected = FALSE; - + if (isset($demo_content_info['title'])) { $checkbox_title = $demo_content_info['title']; } - + if (isset($demo_content_info['description'])) { $checkbox_description = $demo_content_info['description']; } - + if (isset($demo_content_info['selected'])) { $checkbox_selected = $demo_content_info['selected']; } - + $form['demo_content'][$demo_content_key] = [ '#type' => 'checkbox', '#title' => $checkbox_title, '#description' => $checkbox_description, '#default_value' => $checkbox_selected, ]; - + if (isset($demo_content_info['config_form']) && $demo_content_info['config_form'] == TRUE) { $form['demo_content'][$demo_content_key . '_config'] = [ @@ -199,22 +204,27 @@ class AssemblerForm extends FormBase { ], ], ]; - + if (isset($demo_content_info['formbit'])) { $formbit_file_name = drupal_get_path('profile', 'varbase') . '/' . $demo_content_info['formbit']; if (file_exists($formbit_file_name)) { include_once $formbit_file_name; // Add configuration form element in the formbit position. - call_user_func_array($demo_content_key . "_build_formbit", array(&$form['demo_content'][$demo_content_key . '_config'], &$form_state, &$install_state)); + call_user_func_array($demo_content_key . "_build_formbit", + array(&$form['demo_content'][$demo_content_key . '_config'], + &$form_state, + &$install_state, + ) + ); } } - + } } } - + $form['actions'] = [ 'continue' => [ '#type' => 'submit', @@ -232,83 +242,82 @@ class AssemblerForm extends FormBase { * {@inheritdoc} */ public function submitForm(array &$form, FormStateInterface $form_state) { - - // Extra Features. + + // Extra Features. $extraFeatures = ConfigBit::getList('configbit/extra.components.varbase.bit.yml', 'show_extra_components', TRUE, 'dependencies', 'profile', 'varbase'); if (count($extraFeatures)) { $extra_features_values = []; foreach ($extraFeatures as $extra_feature_key => $extra_feature_info) { - - // if form state has got value for this extra feature. + + // If form state has got value for this extra feature. if ($form_state->hasValue($extra_feature_key)) { $extra_features_values[$extra_feature_key] = $form_state->getValue($extra_feature_key); } - + if (isset($extra_feature_info['config_form']) && $extra_feature_info['config_form'] == TRUE) { $formbit_file_name = drupal_get_path('profile', 'varbase') . '/' . $extra_feature_info['formbit']; if (file_exists($formbit_file_name)) { - + include_once $formbit_file_name; $extra_features_editable_configs = call_user_func_array($extra_feature_key . "_get_editable_config_names", array()); - + if (count($extra_features_editable_configs)) { - foreach($extra_features_editable_configs as $extra_features_editable_config_key => $extra_features_editable_config) { - foreach($extra_features_editable_config as $extra_features_config_item_key => $extra_features_config_item_value) { + foreach ($extra_features_editable_configs as $extra_features_editable_config_key => $extra_features_editable_config) { + foreach ($extra_features_editable_config as $extra_features_config_item_key => $extra_features_config_item_value) { if ($form_state->hasValue($extra_features_config_item_key)) { $extra_features_editable_configs[$extra_features_editable_config_key][$extra_features_config_item_key] = $form_state->getValue($extra_features_config_item_key); } } } } - + $GLOBALS['install_state']['varbase']['extra_features_configs'] = $extra_features_editable_configs; } } } - + $GLOBALS['install_state']['varbase']['extra_features_values'] = $extra_features_values; } - - // Demo Content. + // Demo Content. $demoContent = ConfigBit::getList('configbit/demo.content.varbase.bit.yml', 'show_demo', TRUE, 'dependencies', 'profile', 'varbase'); if (count($demoContent)) { $demo_content_values = []; foreach ($demoContent as $demo_content_key => $demo_content_info) { - - // if form state has got value for this demo content. + + // If form state has got value for this demo content. if ($form_state->hasValue($demo_content_key)) { $demo_content_values[$demo_content_key] = $form_state->getValue($demo_content_key); } - + if (isset($demo_content_info['config_form']) && $demo_content_info['config_form'] == TRUE) { $formbit_file_name = drupal_get_path('profile', 'varbase') . '/' . $demo_content_info['formbit']; if (file_exists($formbit_file_name)) { - + include_once $formbit_file_name; $demo_content_editable_configs = call_user_func_array($demo_content_key . "_get_editable_config_names", array()); - + if (count($demo_content_editable_configs)) { - foreach($demo_content_editable_configs as $demo_content_editable_config_key => $demo_content_editable_config) { - foreach($demo_content_editable_config as $demo_content_config_item_key => $demo_content_config_item_value) { + foreach ($demo_content_editable_configs as $demo_content_editable_config_key => $demo_content_editable_config) { + foreach ($demo_content_editable_config as $demo_content_config_item_key => $demo_content_config_item_value) { if ($form_state->hasValue($demo_content_config_item_key)) { $demo_content_editable_configs[$demo_content_editable_config_key][$demo_content_config_item_key] = $form_state->getValue($demo_content_config_item_key); } } } } - + $GLOBALS['install_state']['varbase']['demo_content_configs'] = $demo_content_editable_configs; } } } - + $GLOBALS['install_state']['varbase']['demo_content_values'] = $demo_content_values; } } - + } diff --git a/src/Form/DevelopmentToolsAssemblerForm.php b/src/Form/DevelopmentToolsAssemblerForm.php index 4b7328c6ac2d00dfee3c97607d5f1488d1ec010f..0efdee3000a0f1a71150fadd5c026c3874d38cb9 100644 --- a/src/Form/DevelopmentToolsAssemblerForm.php +++ b/src/Form/DevelopmentToolsAssemblerForm.php @@ -88,32 +88,32 @@ class DevelopmentToolsAssemblerForm extends FormBase { '#suffix' => '</p>', ]; - // Development tools. + // Development tools. $developmentTools = ConfigBit::getList('configbit/development.tools.varbase.bit.yml', 'show_development_tools', TRUE, 'dependencies', 'profile', 'varbase'); if (count($developmentTools)) { - + $form['development_tools'] = [ '#type' => 'fieldset', ]; - + foreach ($developmentTools as $development_tool_key => $development_tool_info) { - + $checkbox_title = ''; $checkbox_description = ''; $checkbox_selected = FALSE; - + if (isset($development_tool_info['title'])) { $checkbox_title = $development_tool_info['title']; } - + if (isset($development_tool_info['description'])) { $checkbox_description = $development_tool_info['description']; } - + if (isset($development_tool_info['selected'])) { $checkbox_selected = $development_tool_info['selected']; } - + // Have a checkbox to enable this development tool. $form['development_tools'][$development_tool_key] = [ '#type' => 'checkbox', @@ -121,7 +121,7 @@ class DevelopmentToolsAssemblerForm extends FormBase { '#description' => $checkbox_description, '#default_value' => $checkbox_selected, ]; - + // If config_form is ture for this development tool. if (isset($development_tool_info['config_form']) && $development_tool_info['config_form'] == TRUE) { @@ -137,20 +137,25 @@ class DevelopmentToolsAssemblerForm extends FormBase { ], ], ]; - - if (isset($development_tool_info['formbit'])){ + + if (isset($development_tool_info['formbit'])) { $formbit_file_name = drupal_get_path('profile', 'varbase') . '/' . $development_tool_info['formbit']; if (file_exists($formbit_file_name)) { include_once $formbit_file_name; // Add configuration form element in the formbit position. - call_user_func_array($development_tool_key . "_build_formbit", array(&$form['development_tools'][$development_tool_key . '_config'], &$form_state, &$install_state)); + call_user_func_array($development_tool_key . "_build_formbit", + array(&$form['development_tools'][$development_tool_key . '_config'], + &$form_state, + &$install_state, + ) + ); } } } } } - + $form['actions'] = [ 'continue' => [ '#type' => 'submit', @@ -168,42 +173,42 @@ class DevelopmentToolsAssemblerForm extends FormBase { * {@inheritdoc} */ public function submitForm(array &$form, FormStateInterface $form_state) { - + // Development Tools. $developmentTools = ConfigBit::getList('configbit/development.tools.varbase.bit.yml', 'show_development_tools', TRUE, 'dependencies', 'profile', 'varbase'); if (count($developmentTools)) { $development_tools_values = []; foreach ($developmentTools as $development_tool_key => $development_tool_info) { - - // if form state has got value for this development tool. + + // If form state has got value for this development tool. if ($form_state->hasValue($development_tool_key)) { $development_tools_values[$development_tool_key] = $form_state->getValue($development_tool_key); } - + if (isset($development_tool_info['config_form']) && $development_tool_info['config_form'] == TRUE) { $formbit_file_name = drupal_get_path('profile', 'varbase') . '/' . $development_tool_info['formbit']; if (file_exists($formbit_file_name)) { - + include_once $formbit_file_name; $development_tools_editable_configs = call_user_func_array($development_tool_key . "_get_editable_config_names", array()); - + if (count($development_tools_editable_configs)) { - foreach($development_tools_editable_configs as $development_tools_editable_config_key => $development_tools_editable_config) { - foreach($development_tools_editable_config as $development_tools_config_item_key => $development_tools_config_item_value) { + foreach ($development_tools_editable_configs as $development_tools_editable_config_key => $development_tools_editable_config) { + foreach ($development_tools_editable_config as $development_tools_config_item_key => $development_tools_config_item_value) { if ($form_state->hasValue($development_tools_config_item_key)) { $development_tools_editable_configs[$development_tools_editable_config_key][$development_tools_config_item_key] = $form_state->getValue($development_tools_config_item_key); } } } } - + $GLOBALS['install_state']['varbase']['development_tools_configs'] = $development_tools_editable_configs; } } } - + $GLOBALS['install_state']['varbase']['development_tools_values'] = $development_tools_values; } } diff --git a/src/FormBit/varbase_development.formbit.php b/src/FormBit/varbase_development.formbit.php index da248e343ebe1e9b2110249f8f1c0e5a625f8bf0..b4d5b444f340a9f4b82980f4627d2ca4b8d5a014 100644 --- a/src/FormBit/varbase_development.formbit.php +++ b/src/FormBit/varbase_development.formbit.php @@ -1,15 +1,21 @@ <?php +/** + * @file + * FormBit file for varbase_development feature mdoule. + */ + use Drupal\Core\Form\FormStateInterface; /** * Get editable config names. - * + * * @return array * Array of config names, and list of values. */ function varbase_development_get_editable_config_names() { - $editable_cofnigs = ['system.logging' => [ + $editable_cofnigs = [ + 'system.logging' => [ 'error_level' => ERROR_REPORTING_HIDE, ], ]; @@ -21,8 +27,11 @@ function varbase_development_get_editable_config_names() { * Build form bit. * * @param array $formbit + * FormBit for the form. * @param FormStateInterface $form_state + * Form status. * @param array $install_state + * Install state. */ function varbase_development_build_formbit(array &$formbit, FormStateInterface &$form_state, array &$install_state = NULL) { $formbit['error_level'] = [ @@ -41,12 +50,13 @@ function varbase_development_build_formbit(array &$formbit, FormStateInterface & /** * Submit form bit with editable config values. - * + * * To update the editable config in drupal active config. - * + * * @param array $editable_config_values + * Editable cofnig values. */ -function varbase_development_submit_formbit(array $editable_config_values) { +function varbase_development_submit_formbit(array $editable_config_values) { $configFactory = \Drupal::configFactory()->getEditable('system.logging'); $configFactory->set('error_level', $editable_config_values['system.logging']['error_level']); $configFactory->save(TRUE); diff --git a/src/composer/ScriptHandler.php b/src/composer/ScriptHandler.php index 43b52036d0cc276c8432a23e778985c230642391..5d071c78af74889b2b9b90c37f9ffad78d945b82 100644 --- a/src/composer/ScriptHandler.php +++ b/src/composer/ScriptHandler.php @@ -28,6 +28,7 @@ class ScriptHandler { * Create required files. * * @param Event $event + * Event of creeate required files. */ public static function createRequiredFiles(Event $event) { @@ -40,26 +41,27 @@ class ScriptHandler { 'themes', 'libraries', ]; - // Required for unit testing + + // Required for unit testing. foreach ($dirs as $dir) { - if (!$fs->exists($drupal_root . '/'. $dir)) { - $fs->mkdir($drupal_root . '/'. $dir); - $fs->touch($drupal_root . '/'. $dir . '/.gitkeep'); + if (!$fs->exists($drupal_root . '/' . $dir)) { + $fs->mkdir($drupal_root . '/' . $dir); + $fs->touch($drupal_root . '/' . $dir . '/.gitkeep'); } } - // Prepare the settings file for installation + // Prepare the settings file for installation. if (!$fs->exists($drupal_root . '/sites/default/settings.php') and $fs->exists($drupal_root . '/sites/default/default.settings.php')) { $fs->copy($drupal_root . '/sites/default/default.settings.php', $drupal_root . '/sites/default/settings.php'); $fs->chmod($drupal_root . '/sites/default/settings.php', 0666); $event->getIO()->write("Create a sites/default/settings.php file with chmod 0666"); } - // Prepare the services file for installation + // Prepare the services file for installation. if (!$fs->exists($drupal_root . '/sites/default/services.yml') and $fs->exists($drupal_root . '/sites/default/default.services.yml')) { $fs->copy($drupal_root . '/sites/default/default.services.yml', $drupal_root . '/sites/default/services.yml'); $fs->chmod($drupal_root . '/sites/default/services.yml', 0666); $event->getIO()->write("Create a sites/default/services.yml file with chmod 0666"); } - // Create the files directory with chmod 0777 + // Create the files directory with chmod 0777. if (!$fs->exists($drupal_root . '/sites/default/files')) { $oldmask = umask(0); $fs->mkdir($drupal_root . '/sites/default/files', 0777); @@ -68,7 +70,7 @@ class ScriptHandler { } } - /** + /** * Checks if the installed version of Composer is compatible. * * Composer 1.0.0 and higher consider a `composer install` without having a @@ -101,7 +103,7 @@ class ScriptHandler { exit(1); } } - + /** * Remove .git folder from modules, themes, profiles of development branches. */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/base/VARTHEME_SUBTHEME.base.css b/themes/vartheme/VARTHEME_SUBTHEME/css/base/VARTHEME_SUBTHEME.base.css index 2bbf8b7b9253e84d388c776567a8aeffd0e3c47a..cace0da569a45ffc67f5ea683ec72d8ec1091647 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/base/VARTHEME_SUBTHEME.base.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/base/VARTHEME_SUBTHEME.base.css @@ -1 +1 @@ -/*# sourceMappingURL=VARTHEME_SUBTHEME.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=VARTHEME_SUBTHEME.base.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/base/bootstrap.base.css b/themes/vartheme/VARTHEME_SUBTHEME/css/base/bootstrap.base.css index 2c99d2687fb619c408431362f803aa8d3f006c1c..e3695c4fcfc6ab1603fed9085e94dd934eeb68a3 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/base/bootstrap.base.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/base/bootstrap.base.css @@ -6739,4 +6739,4 @@ button.close { display: none !important; } } -/*# sourceMappingURL=bootstrap.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=bootstrap.base.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/base/vartheme.base.css b/themes/vartheme/VARTHEME_SUBTHEME/css/base/vartheme.base.css index ed08add82f461ef867fee5b51a4291b8e37e5dcd..e26b736c49d7d64ccc143efb565add239886f223 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/base/vartheme.base.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/base/vartheme.base.css @@ -640,4 +640,4 @@ img { .maintenance-page #page { text-align: center; } -/*# sourceMappingURL=vartheme.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=vartheme.base.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/ajax.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/ajax.component.css index 407c191ba7d658d25201c365592939ff385de92c..c174e2cc003326a66e2ea37d4fc901418da8eb59 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/ajax.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/ajax.component.css @@ -33,4 +33,4 @@ html.js .form-item .input-group-addon .input-group-addon { html.js .ajax-new-content:empty { display: none !important; } -/*# sourceMappingURL=ajax.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=ajax.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/alert.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/alert.component.css index ded360e6f62e80d0b99c0322691013688e930707..349d51edef3c9478063155675df705fd87845960 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/alert.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/alert.component.css @@ -24,4 +24,4 @@ .alert-danger a:focus { color: #843534; } -/*# sourceMappingURL=alert.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=alert.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/autocomplete.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/autocomplete.component.css index 06748e0de1434ecef972a93c6d77252c2c01e7cb..b6b9c11c64c09424e93aecd334e62f583e25ca4f 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/autocomplete.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/autocomplete.component.css @@ -38,4 +38,4 @@ background: #337ab7; color: #fff; } -/*# sourceMappingURL=autocomplete.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=autocomplete.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/bs-callouts.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/bs-callouts.component.css index f0f7707810fe78596312f584a33cd8e86c02dd2b..f1d7b118b5601f12b6ec4cb4c587d1a62a822e13 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/bs-callouts.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/bs-callouts.component.css @@ -59,4 +59,4 @@ border-left-color: #eeeeee; border-right-color: #5bc0de; } -/*# sourceMappingURL=bs-callouts.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=bs-callouts.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/field.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/field.component.css index 26b86482bcc7069419e6a1863da579ef181e164c..0f09b20a2f299210b3b11bb7f7b24329a753ab38 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/field.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/field.component.css @@ -19,4 +19,4 @@ .field--label-inline .field--label::after { content: ':'; } -/*# sourceMappingURL=field.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=field.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/file.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/file.component.css index 014edeb71ea972b85dfc6a0d21bb959274b6eea1..0ae443dc30587d2683f72cc9da7d47959e30ca5d 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/file.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/file.component.css @@ -59,4 +59,4 @@ .image-widget.row { overflow: hidden; } -/*# sourceMappingURL=file.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=file.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/filter.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/filter.component.css index e31488bc556e0a86d6a8091288495c0b41f8c945..bf0daaac9a98dadf2b37a353cc4a55e28f7346fe 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/filter.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/filter.component.css @@ -16,4 +16,4 @@ .nav.nav-tabs.filter-formats { margin-bottom: 15px; } -/*# sourceMappingURL=filter.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=filter.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/form.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/form.component.css index 81a02ae6f21cacfbd8d48e27b748983c5c661739..0ebe262ffb1f114f2c6f5c5cf14598a21f770899 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/form.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/form.component.css @@ -78,4 +78,4 @@ table .radio.form-no-label { .form-actions .btn-group .btn { margin-right: 0; } -/*# sourceMappingURL=form.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=form.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/icon.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/icon.component.css index 0da1409bb2678fb0ece20da1baba2485caa0e857..08d7942f04f5620e05a8cff1a1c6eeff42a626ed 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/icon.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/icon.component.css @@ -12,4 +12,4 @@ a.icon-after .glyphicon { margin-left: .25em; margin-right: -0.25em; } -/*# sourceMappingURL=icon.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=icon.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.admin.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.admin.component.css index 99fc22138971f4f43ad325d96dbd748be24c394b..4c5d4878c73c792e0f5b1950c32827b4002a7aae 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.admin.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.admin.component.css @@ -82,4 +82,4 @@ body.user-logged-in.navbar-is-fixed-top#navbar-administration.navbar-vertical.na left: 240px; left: 24rem; } -/*# sourceMappingURL=navbar.admin.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=navbar.admin.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.component.css index 2e4ed053eaabe26ed38eec569432f2478624eb96..91b3129ebf2e36ad0fa4af2a6ec4bbdf4ae4b348 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/navbar.component.css @@ -54,4 +54,4 @@ body.navbar-is-fixed-bottom { padding-left: 0; } } -/*# sourceMappingURL=navbar.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=navbar.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/node.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/node.component.css index 5c521c8fc32274b6e46ad5ad021fc2ee1c43ea24..4422a486da90ccae32a65ed1a0eba54d1684846b 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/node.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/node.component.css @@ -21,4 +21,4 @@ text-align: center; word-wrap: break-word; } -/*# sourceMappingURL=node.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=node.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/outside-in.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/outside-in.component.css index 6a4531c713c3ac9d609d72a3ac4b61f66c95b490..be561f8e6aca9b595ec19f9bd93152bae1c20fbd 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/outside-in.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/outside-in.component.css @@ -139,4 +139,4 @@ position: static; margin-right: 0; } -/*# sourceMappingURL=outside-in.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=outside-in.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/panel.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/panel.component.css index e7b98c072aa21c95582f729b480fd050a8acbde1..7052ec9246b59927bd524f7a3aa2faa627872db7 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/panel.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/panel.component.css @@ -13,4 +13,4 @@ .panel-title:hover { text-decoration: none; } -/*# sourceMappingURL=panel.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=panel.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/progress-bar.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/progress-bar.component.css index 6751047c3cd7192a02850f052b3e28a4cc8f19b4..5f9856b6eefecddded47d9e525ec653279f25c94 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/progress-bar.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/progress-bar.component.css @@ -15,4 +15,4 @@ .progress-wrapper .progress-bar { min-width: 2em; } -/*# sourceMappingURL=progress-bar.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=progress-bar.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/table-drag.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/table-drag.component.css index b9df9f6ba0288cd88e6c840c3634637ce34f6e93..e78ab074cb16beac1cf2b8abffa5a8034a5402b2 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/table-drag.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/table-drag.component.css @@ -34,4 +34,4 @@ margin: -0.4em -0.4em -0.4em 0.2em; padding: 0.42em 0.6em 0.42em 0; } -/*# sourceMappingURL=table-drag.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=table-drag.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/tabs.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/tabs.component.css index 3964b50b5cf849971b85adec63dba9b4af69295e..ecdf7ee8c01432ebc203c68c284278d7b01a498a 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/tabs.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/tabs.component.css @@ -116,4 +116,4 @@ .tabs-right > .nav-tabs > .active > a:focus { border-color: #ddd #ddd #ddd transparent; } -/*# sourceMappingURL=tabs.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=tabs.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/component/toolbar.component.css b/themes/vartheme/VARTHEME_SUBTHEME/css/component/toolbar.component.css index c035325b700b38d9de33509b21729bab03346a83..7a306c49d0023cb26a2dfdce4fb2087fae6a2594 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/component/toolbar.component.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/component/toolbar.component.css @@ -20,4 +20,4 @@ body.toolbar-fixed.toolbar-vertical.toolbar-tray-open.toolbar-fixed .toolbar-tra body.toolbar-fixed.toolbar-vertical.toolbar-tray-open.toolbar-fixed .toolbar-tray > .toolbar-lining:before { width: 240px; } -/*# sourceMappingURL=toolbar.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=toolbar.component.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/layout/edge2edge.layout.css b/themes/vartheme/VARTHEME_SUBTHEME/css/layout/edge2edge.layout.css index 08efeacf6f23dd236c9b814e21a75efd11193e2b..5cb821fa15e9e05b92fac33cd56040c30013ba69 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/layout/edge2edge.layout.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/layout/edge2edge.layout.css @@ -16,4 +16,4 @@ body { overflow-x: hidden; } -/*# sourceMappingURL=edge2edge.layout.css.map */ \ No newline at end of file +/*# sourceMappingURL=edge2edge.layout.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/VARTHEME_SUBTHEME-rtl.base.css b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/VARTHEME_SUBTHEME-rtl.base.css index 32df649645b0f2a87fc38594c391ca8a08fa25a5..cc516c2d460118549f4939995e558ebc539a7823 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/VARTHEME_SUBTHEME-rtl.base.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/VARTHEME_SUBTHEME-rtl.base.css @@ -1 +1 @@ -/*# sourceMappingURL=VARTHEME_SUBTHEME-rtl.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=VARTHEME_SUBTHEME-rtl.base.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/bootstrap-rtl.base.css b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/bootstrap-rtl.base.css index 46f4dfc981b36f8f2a0ed6cc4ce279068380fe04..ca7114bb3a5f59c4176049e7b165640f2e65d91f 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/bootstrap-rtl.base.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/bootstrap-rtl.base.css @@ -1467,4 +1467,4 @@ th { .pull-left.flip { float: right !important; } -/*# sourceMappingURL=bootstrap-rtl.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=bootstrap-rtl.base.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/vartheme-rtl.base.css b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/vartheme-rtl.base.css index d9690d82e05fecdf6e25d5107d647419570ada5f..169c848210316b7429e281fe29543aeffc42b2df 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/vartheme-rtl.base.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/base/vartheme-rtl.base.css @@ -1 +1 @@ -/*# sourceMappingURL=vartheme-rtl.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=vartheme-rtl.base.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/content-rtl.theme.css b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/content-rtl.theme.css index 8c6c84022c359c11037ed331408d10aa43fee745..e070dcd2afb157483c8644286e36ab3de63bf5be 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/content-rtl.theme.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/content-rtl.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=content-rtl.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=content-rtl.theme.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/footer-rtl.theme.css b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/footer-rtl.theme.css index 11745d5e5173156b456ba95511a9bae25ec0a366..515849744868b50d96878554cdce2ab7abde5855 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/footer-rtl.theme.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/footer-rtl.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=footer-rtl.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=footer-rtl.theme.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/header-rtl.theme.css b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/header-rtl.theme.css index 6cc1dfb2805420ff64a5a67915801515efc743a2..e14984645b3368f93f95c843902e5edc71a4ac63 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/header-rtl.theme.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/rtl/theme/header-rtl.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=header-rtl.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=header-rtl.theme.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/content.theme.css b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/content.theme.css index 013200b21f480b8ae69b228977e381eb905b00ea..38d758e6fe3f3defc6edaa30081fd7b5260f2d6e 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/content.theme.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/content.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=content.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=content.theme.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/footer.theme.css b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/footer.theme.css index f04325d4f8da27285563bb7fe04879f9f4930615..c29dc334a972a2b22fed5ad6cdf3068a19fc8173 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/footer.theme.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/footer.theme.css @@ -4,4 +4,4 @@ padding-bottom: 36px; border-top: 1px solid #e5e5e5; } -/*# sourceMappingURL=footer.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=footer.theme.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/header.theme.css b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/header.theme.css index e0c429db3c609a82b6e4eaeb0530d84a97bd4626..cc2f55d1e4bd959e4f6fc09d8c4c9d80cb74d415 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/header.theme.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/header.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=header.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=header.theme.css.map */ diff --git a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/vbp-colors.theme.css b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/vbp-colors.theme.css index dbaa9c88b8d20da47e387974d66289d469c45978..ebe70fdb3478e8892b3f8f7cf444b01449fff8dd 100644 --- a/themes/vartheme/VARTHEME_SUBTHEME/css/theme/vbp-colors.theme.css +++ b/themes/vartheme/VARTHEME_SUBTHEME/css/theme/vbp-colors.theme.css @@ -73,4 +73,4 @@ .vbp_color_05 a.is-active { color: #ffffff; } -/*# sourceMappingURL=vbp-colors.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=vbp-colors.theme.css.map */ diff --git a/themes/vartheme/css/base/bootstrap.base.css b/themes/vartheme/css/base/bootstrap.base.css index 2c99d2687fb619c408431362f803aa8d3f006c1c..e3695c4fcfc6ab1603fed9085e94dd934eeb68a3 100644 --- a/themes/vartheme/css/base/bootstrap.base.css +++ b/themes/vartheme/css/base/bootstrap.base.css @@ -6739,4 +6739,4 @@ button.close { display: none !important; } } -/*# sourceMappingURL=bootstrap.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=bootstrap.base.css.map */ diff --git a/themes/vartheme/css/base/vartheme.base.css b/themes/vartheme/css/base/vartheme.base.css index 5725e932261087fff9aae92298d0ea80f9823335..42db3ca3eab9e9184fdef38d606494b4cb2f2ede 100644 --- a/themes/vartheme/css/base/vartheme.base.css +++ b/themes/vartheme/css/base/vartheme.base.css @@ -612,4 +612,4 @@ img { .maintenance-page #page { text-align: center; } -/*# sourceMappingURL=vartheme.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=vartheme.base.css.map */ diff --git a/themes/vartheme/css/component/ajax.component.css b/themes/vartheme/css/component/ajax.component.css index 407c191ba7d658d25201c365592939ff385de92c..c174e2cc003326a66e2ea37d4fc901418da8eb59 100644 --- a/themes/vartheme/css/component/ajax.component.css +++ b/themes/vartheme/css/component/ajax.component.css @@ -33,4 +33,4 @@ html.js .form-item .input-group-addon .input-group-addon { html.js .ajax-new-content:empty { display: none !important; } -/*# sourceMappingURL=ajax.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=ajax.component.css.map */ diff --git a/themes/vartheme/css/component/alert.component.css b/themes/vartheme/css/component/alert.component.css index ded360e6f62e80d0b99c0322691013688e930707..349d51edef3c9478063155675df705fd87845960 100644 --- a/themes/vartheme/css/component/alert.component.css +++ b/themes/vartheme/css/component/alert.component.css @@ -24,4 +24,4 @@ .alert-danger a:focus { color: #843534; } -/*# sourceMappingURL=alert.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=alert.component.css.map */ diff --git a/themes/vartheme/css/component/autocomplete.component.css b/themes/vartheme/css/component/autocomplete.component.css index 06748e0de1434ecef972a93c6d77252c2c01e7cb..b6b9c11c64c09424e93aecd334e62f583e25ca4f 100644 --- a/themes/vartheme/css/component/autocomplete.component.css +++ b/themes/vartheme/css/component/autocomplete.component.css @@ -38,4 +38,4 @@ background: #337ab7; color: #fff; } -/*# sourceMappingURL=autocomplete.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=autocomplete.component.css.map */ diff --git a/themes/vartheme/css/component/bs-callouts.component.css b/themes/vartheme/css/component/bs-callouts.component.css index f0f7707810fe78596312f584a33cd8e86c02dd2b..f1d7b118b5601f12b6ec4cb4c587d1a62a822e13 100644 --- a/themes/vartheme/css/component/bs-callouts.component.css +++ b/themes/vartheme/css/component/bs-callouts.component.css @@ -59,4 +59,4 @@ border-left-color: #eeeeee; border-right-color: #5bc0de; } -/*# sourceMappingURL=bs-callouts.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=bs-callouts.component.css.map */ diff --git a/themes/vartheme/css/component/field.component.css b/themes/vartheme/css/component/field.component.css index 26b86482bcc7069419e6a1863da579ef181e164c..0f09b20a2f299210b3b11bb7f7b24329a753ab38 100644 --- a/themes/vartheme/css/component/field.component.css +++ b/themes/vartheme/css/component/field.component.css @@ -19,4 +19,4 @@ .field--label-inline .field--label::after { content: ':'; } -/*# sourceMappingURL=field.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=field.component.css.map */ diff --git a/themes/vartheme/css/component/file.component.css b/themes/vartheme/css/component/file.component.css index 014edeb71ea972b85dfc6a0d21bb959274b6eea1..0ae443dc30587d2683f72cc9da7d47959e30ca5d 100644 --- a/themes/vartheme/css/component/file.component.css +++ b/themes/vartheme/css/component/file.component.css @@ -59,4 +59,4 @@ .image-widget.row { overflow: hidden; } -/*# sourceMappingURL=file.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=file.component.css.map */ diff --git a/themes/vartheme/css/component/filter.component.css b/themes/vartheme/css/component/filter.component.css index e31488bc556e0a86d6a8091288495c0b41f8c945..bf0daaac9a98dadf2b37a353cc4a55e28f7346fe 100644 --- a/themes/vartheme/css/component/filter.component.css +++ b/themes/vartheme/css/component/filter.component.css @@ -16,4 +16,4 @@ .nav.nav-tabs.filter-formats { margin-bottom: 15px; } -/*# sourceMappingURL=filter.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=filter.component.css.map */ diff --git a/themes/vartheme/css/component/form.component.css b/themes/vartheme/css/component/form.component.css index 81a02ae6f21cacfbd8d48e27b748983c5c661739..0ebe262ffb1f114f2c6f5c5cf14598a21f770899 100644 --- a/themes/vartheme/css/component/form.component.css +++ b/themes/vartheme/css/component/form.component.css @@ -78,4 +78,4 @@ table .radio.form-no-label { .form-actions .btn-group .btn { margin-right: 0; } -/*# sourceMappingURL=form.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=form.component.css.map */ diff --git a/themes/vartheme/css/component/icon.component.css b/themes/vartheme/css/component/icon.component.css index 0da1409bb2678fb0ece20da1baba2485caa0e857..08d7942f04f5620e05a8cff1a1c6eeff42a626ed 100644 --- a/themes/vartheme/css/component/icon.component.css +++ b/themes/vartheme/css/component/icon.component.css @@ -12,4 +12,4 @@ a.icon-after .glyphicon { margin-left: .25em; margin-right: -0.25em; } -/*# sourceMappingURL=icon.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=icon.component.css.map */ diff --git a/themes/vartheme/css/component/navbar.admin.component.css b/themes/vartheme/css/component/navbar.admin.component.css index 99fc22138971f4f43ad325d96dbd748be24c394b..4c5d4878c73c792e0f5b1950c32827b4002a7aae 100644 --- a/themes/vartheme/css/component/navbar.admin.component.css +++ b/themes/vartheme/css/component/navbar.admin.component.css @@ -82,4 +82,4 @@ body.user-logged-in.navbar-is-fixed-top#navbar-administration.navbar-vertical.na left: 240px; left: 24rem; } -/*# sourceMappingURL=navbar.admin.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=navbar.admin.component.css.map */ diff --git a/themes/vartheme/css/component/navbar.component.css b/themes/vartheme/css/component/navbar.component.css index 2e4ed053eaabe26ed38eec569432f2478624eb96..91b3129ebf2e36ad0fa4af2a6ec4bbdf4ae4b348 100644 --- a/themes/vartheme/css/component/navbar.component.css +++ b/themes/vartheme/css/component/navbar.component.css @@ -54,4 +54,4 @@ body.navbar-is-fixed-bottom { padding-left: 0; } } -/*# sourceMappingURL=navbar.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=navbar.component.css.map */ diff --git a/themes/vartheme/css/component/node.component.css b/themes/vartheme/css/component/node.component.css index 5c521c8fc32274b6e46ad5ad021fc2ee1c43ea24..4422a486da90ccae32a65ed1a0eba54d1684846b 100644 --- a/themes/vartheme/css/component/node.component.css +++ b/themes/vartheme/css/component/node.component.css @@ -21,4 +21,4 @@ text-align: center; word-wrap: break-word; } -/*# sourceMappingURL=node.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=node.component.css.map */ diff --git a/themes/vartheme/css/component/outside-in.component.css b/themes/vartheme/css/component/outside-in.component.css index 6a4531c713c3ac9d609d72a3ac4b61f66c95b490..be561f8e6aca9b595ec19f9bd93152bae1c20fbd 100644 --- a/themes/vartheme/css/component/outside-in.component.css +++ b/themes/vartheme/css/component/outside-in.component.css @@ -139,4 +139,4 @@ position: static; margin-right: 0; } -/*# sourceMappingURL=outside-in.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=outside-in.component.css.map */ diff --git a/themes/vartheme/css/component/panel.component.css b/themes/vartheme/css/component/panel.component.css index e7b98c072aa21c95582f729b480fd050a8acbde1..7052ec9246b59927bd524f7a3aa2faa627872db7 100644 --- a/themes/vartheme/css/component/panel.component.css +++ b/themes/vartheme/css/component/panel.component.css @@ -13,4 +13,4 @@ .panel-title:hover { text-decoration: none; } -/*# sourceMappingURL=panel.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=panel.component.css.map */ diff --git a/themes/vartheme/css/component/progress-bar.component.css b/themes/vartheme/css/component/progress-bar.component.css index 6751047c3cd7192a02850f052b3e28a4cc8f19b4..5f9856b6eefecddded47d9e525ec653279f25c94 100644 --- a/themes/vartheme/css/component/progress-bar.component.css +++ b/themes/vartheme/css/component/progress-bar.component.css @@ -15,4 +15,4 @@ .progress-wrapper .progress-bar { min-width: 2em; } -/*# sourceMappingURL=progress-bar.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=progress-bar.component.css.map */ diff --git a/themes/vartheme/css/component/table-drag.component.css b/themes/vartheme/css/component/table-drag.component.css index b9df9f6ba0288cd88e6c840c3634637ce34f6e93..e78ab074cb16beac1cf2b8abffa5a8034a5402b2 100644 --- a/themes/vartheme/css/component/table-drag.component.css +++ b/themes/vartheme/css/component/table-drag.component.css @@ -34,4 +34,4 @@ margin: -0.4em -0.4em -0.4em 0.2em; padding: 0.42em 0.6em 0.42em 0; } -/*# sourceMappingURL=table-drag.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=table-drag.component.css.map */ diff --git a/themes/vartheme/css/component/tabs.component.css b/themes/vartheme/css/component/tabs.component.css index 3964b50b5cf849971b85adec63dba9b4af69295e..ecdf7ee8c01432ebc203c68c284278d7b01a498a 100644 --- a/themes/vartheme/css/component/tabs.component.css +++ b/themes/vartheme/css/component/tabs.component.css @@ -116,4 +116,4 @@ .tabs-right > .nav-tabs > .active > a:focus { border-color: #ddd #ddd #ddd transparent; } -/*# sourceMappingURL=tabs.component.css.map */ \ No newline at end of file +/*# sourceMappingURL=tabs.component.css.map */ diff --git a/themes/vartheme/css/component/toolbar.component.css b/themes/vartheme/css/component/toolbar.component.css deleted file mode 100644 index c035325b700b38d9de33509b21729bab03346a83..0000000000000000000000000000000000000000 --- a/themes/vartheme/css/component/toolbar.component.css +++ /dev/null @@ -1,23 +0,0 @@ -body.toolbar-fixed .toolbar-oriented .toolbar-bar { - z-index: 1031; -} -body.toolbar-fixed .navbar-fixed-top { - top: 39px; -} -body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open .navbar-fixed-top { - top: 79px; -} -body.toolbar-fixed.toolbar-vertical.toolbar-tray-open .navbar-fixed-top { - left: 240px; -} -body.toolbar-fixed.toolbar-vertical.toolbar-tray-open.toolbar-fixed { - margin-left: 240px; -} -body.toolbar-fixed.toolbar-vertical.toolbar-tray-open.toolbar-fixed .toolbar-tray { - padding-bottom: 40px; -} -body.toolbar-fixed.toolbar-vertical.toolbar-tray-open.toolbar-fixed .toolbar-tray, -body.toolbar-fixed.toolbar-vertical.toolbar-tray-open.toolbar-fixed .toolbar-tray > .toolbar-lining:before { - width: 240px; -} -/*# sourceMappingURL=toolbar.component.css.map */ \ No newline at end of file diff --git a/themes/vartheme/css/layout/edge2edge.layout.css b/themes/vartheme/css/layout/edge2edge.layout.css index 08efeacf6f23dd236c9b814e21a75efd11193e2b..5cb821fa15e9e05b92fac33cd56040c30013ba69 100644 --- a/themes/vartheme/css/layout/edge2edge.layout.css +++ b/themes/vartheme/css/layout/edge2edge.layout.css @@ -16,4 +16,4 @@ body { overflow-x: hidden; } -/*# sourceMappingURL=edge2edge.layout.css.map */ \ No newline at end of file +/*# sourceMappingURL=edge2edge.layout.css.map */ diff --git a/themes/vartheme/css/rtl/base/bootstrap-rtl.base.css b/themes/vartheme/css/rtl/base/bootstrap-rtl.base.css index 46f4dfc981b36f8f2a0ed6cc4ce279068380fe04..ca7114bb3a5f59c4176049e7b165640f2e65d91f 100644 --- a/themes/vartheme/css/rtl/base/bootstrap-rtl.base.css +++ b/themes/vartheme/css/rtl/base/bootstrap-rtl.base.css @@ -1467,4 +1467,4 @@ th { .pull-left.flip { float: right !important; } -/*# sourceMappingURL=bootstrap-rtl.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=bootstrap-rtl.base.css.map */ diff --git a/themes/vartheme/css/rtl/base/vartheme-rtl.base.css b/themes/vartheme/css/rtl/base/vartheme-rtl.base.css index d9690d82e05fecdf6e25d5107d647419570ada5f..169c848210316b7429e281fe29543aeffc42b2df 100644 --- a/themes/vartheme/css/rtl/base/vartheme-rtl.base.css +++ b/themes/vartheme/css/rtl/base/vartheme-rtl.base.css @@ -1 +1 @@ -/*# sourceMappingURL=vartheme-rtl.base.css.map */ \ No newline at end of file +/*# sourceMappingURL=vartheme-rtl.base.css.map */ diff --git a/themes/vartheme/css/rtl/theme/content-rtl.theme.css b/themes/vartheme/css/rtl/theme/content-rtl.theme.css index 8c6c84022c359c11037ed331408d10aa43fee745..e070dcd2afb157483c8644286e36ab3de63bf5be 100644 --- a/themes/vartheme/css/rtl/theme/content-rtl.theme.css +++ b/themes/vartheme/css/rtl/theme/content-rtl.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=content-rtl.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=content-rtl.theme.css.map */ diff --git a/themes/vartheme/css/rtl/theme/footer-rtl.theme.css b/themes/vartheme/css/rtl/theme/footer-rtl.theme.css index 11745d5e5173156b456ba95511a9bae25ec0a366..515849744868b50d96878554cdce2ab7abde5855 100644 --- a/themes/vartheme/css/rtl/theme/footer-rtl.theme.css +++ b/themes/vartheme/css/rtl/theme/footer-rtl.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=footer-rtl.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=footer-rtl.theme.css.map */ diff --git a/themes/vartheme/css/rtl/theme/header-rtl.theme.css b/themes/vartheme/css/rtl/theme/header-rtl.theme.css index 6cc1dfb2805420ff64a5a67915801515efc743a2..e14984645b3368f93f95c843902e5edc71a4ac63 100644 --- a/themes/vartheme/css/rtl/theme/header-rtl.theme.css +++ b/themes/vartheme/css/rtl/theme/header-rtl.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=header-rtl.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=header-rtl.theme.css.map */ diff --git a/themes/vartheme/css/theme/content.theme.css b/themes/vartheme/css/theme/content.theme.css index 013200b21f480b8ae69b228977e381eb905b00ea..38d758e6fe3f3defc6edaa30081fd7b5260f2d6e 100644 --- a/themes/vartheme/css/theme/content.theme.css +++ b/themes/vartheme/css/theme/content.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=content.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=content.theme.css.map */ diff --git a/themes/vartheme/css/theme/footer.theme.css b/themes/vartheme/css/theme/footer.theme.css index f04325d4f8da27285563bb7fe04879f9f4930615..c29dc334a972a2b22fed5ad6cdf3068a19fc8173 100644 --- a/themes/vartheme/css/theme/footer.theme.css +++ b/themes/vartheme/css/theme/footer.theme.css @@ -4,4 +4,4 @@ padding-bottom: 36px; border-top: 1px solid #e5e5e5; } -/*# sourceMappingURL=footer.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=footer.theme.css.map */ diff --git a/themes/vartheme/css/theme/header.theme.css b/themes/vartheme/css/theme/header.theme.css index e0c429db3c609a82b6e4eaeb0530d84a97bd4626..cc2f55d1e4bd959e4f6fc09d8c4c9d80cb74d415 100644 --- a/themes/vartheme/css/theme/header.theme.css +++ b/themes/vartheme/css/theme/header.theme.css @@ -1 +1 @@ -/*# sourceMappingURL=header.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=header.theme.css.map */ diff --git a/themes/vartheme/css/theme/vbp-colors.theme.css b/themes/vartheme/css/theme/vbp-colors.theme.css index dbaa9c88b8d20da47e387974d66289d469c45978..ebe70fdb3478e8892b3f8f7cf444b01449fff8dd 100644 --- a/themes/vartheme/css/theme/vbp-colors.theme.css +++ b/themes/vartheme/css/theme/vbp-colors.theme.css @@ -73,4 +73,4 @@ .vbp_color_05 a.is-active { color: #ffffff; } -/*# sourceMappingURL=vbp-colors.theme.css.map */ \ No newline at end of file +/*# sourceMappingURL=vbp-colors.theme.css.map */ diff --git a/themes/vartheme/vartheme.theme b/themes/vartheme/vartheme.theme index 5e942e201a275d4c20db288e91b63f0504f8350c..0163a43657725b9483e4ed3af46c544b2b6ec28b 100644 --- a/themes/vartheme/vartheme.theme +++ b/themes/vartheme/vartheme.theme @@ -21,5 +21,5 @@ function vartheme_theme_suggestions_page_alter(array &$suggestions, array $varia * Implements hook_preprocess_page(). */ function vartheme_preprocess_page(&$variables) { - $variables['logo_print'] = \Drupal::request()->getBaseUrl() . '/' . drupal_get_path('theme','vartheme') . '/logo-print.png'; + $variables['logo_print'] = \Drupal::request()->getBaseUrl() . '/' . drupal_get_path('theme', 'vartheme') . '/logo-print.png'; } diff --git a/varbase.install b/varbase.install index 41b04af2bceb0a6d911d09c9e63c4474d499a4f0..04baad54c5860be58a5a3d58841a33932d553e09 100644 --- a/varbase.install +++ b/varbase.install @@ -470,8 +470,7 @@ function varbase_update_8039() { } /** - * Add Color Configs to the Available CSS styles (classes) for Varbase Bootstrap - * Paragraphs. + * Add Color Configs to the Available styles for Varbase Bootstrap Paragraphs. */ function varbase_update_8040() { $profile_path = drupal_get_path('profile', 'varbase') . '/config/install/'; diff --git a/varbase.profile b/varbase.profile index c63097889cd5e2466bcc875c48a5af8f912695e1..eee50cc307c530f462eca2c26ec68a657f972475 100644 --- a/varbase.profile +++ b/varbase.profile @@ -124,19 +124,25 @@ function varbase_assemble_extra_components(array &$install_state) { // Add the checked extra feature to the batch process to be enabled. $batch['operations'][] = ['varbase_assemble_extra_component_then_install', (array) $extra_feature_key]; } - + if (count($selected_extra_features_configs) && isset($extraFeatures[$extra_feature_key]['config_form']) && $extraFeatures[$extra_feature_key]['config_form'] == TRUE && isset($extraFeatures[$extra_feature_key]['formbit'])) { - + $formbit_file_name = drupal_get_path('profile', 'varbase') . '/' . $extraFeatures[$extra_feature_key]['formbit']; - + if (file_exists($formbit_file_name)) { // Added the selected extra feature configs to the batch process // with the same function name in the formbit. - $batch['operations'][] = ['varbase_save_editable_config_values', (array) [$extra_feature_key, $formbit_file_name, $selected_extra_features_configs]]; + $batch['operations'][] = ['varbase_save_editable_config_values', + (array) [ + $extra_feature_key, + $formbit_file_name, + $selected_extra_features_configs, + ], + ]; } } } @@ -186,7 +192,13 @@ function varbase_assemble_extra_components(array &$install_state) { // Added the selected development configs to the batch process // with the same function name in the formbit. - $batch['operations'][] = ['varbase_save_editable_config_values', (array) [$demo_content_key, $formbit_file_name, $selected_demo_content_configs]]; + $batch['operations'][] = ['varbase_save_editable_config_values', + (array) [ + $demo_content_key, + $formbit_file_name, + $selected_demo_content_configs, + ], + ]; } } } @@ -228,7 +240,7 @@ function varbase_assemble_development_tools(array &$install_state) { $selected_development_configs = $install_state['varbase']['development_tools_configs']; } - // Development tools. + // Development tools. $developmentTools = ConfigBit::getList('configbit/development.tools.varbase.bit.yml', 'show_development_tools', TRUE, 'dependencies', 'profile', 'varbase'); // If we do have development tools and we have selected development tools. @@ -239,7 +251,7 @@ function varbase_assemble_development_tools(array &$install_state) { // If the development tool was a module and not enabled, then enable it. if (!\Drupal::moduleHandler()->moduleExists($development_tool_key)) { - // Add the checked development tool to the batch process to be enabled. + // Add checked development tool to the batch process to be enabled. $batch['operations'][] = ['varbase_assemble_extra_component_then_install', (array) $development_tool_key]; } @@ -253,12 +265,18 @@ function varbase_assemble_development_tools(array &$install_state) { // Added the selected development configs to the batch process // with the same function name in the formbit. - $batch['operations'][] = ['varbase_save_editable_config_values', (array) [$development_tool_key, $formbit_file_name, $selected_development_configs]]; + $batch['operations'][] = ['varbase_save_editable_config_values', + (array) [ + $development_tool_key, + $formbit_file_name, + $selected_development_configs, + ], + ]; } } } } - + // Hide Wornings and status messages. $batch['operations'][] = ['varbase_hide_warning_and_status_messages', (array) TRUE]; @@ -326,7 +344,7 @@ function varbase_assemble_extra_component_then_install($extra_component) { * Batch function to save editable config values for extra components. * * @param string|array $extra_component_machine_name - * machine name key of the extra component. + * Machine name key of the extra component. * @param string|array $formbit_file_name * FormBit file name. * @param string|array $editable_config_values