Commit 40cb3b0b authored by alexpott's avatar alexpott

Issue #2268975 by Gábor Hojtsy, vijaycs85: Fixed named schema elements missing...

Issue #2268975 by Gábor Hojtsy, vijaycs85: Fixed named schema elements missing when installing Drupal.
parent a10d5be2
......@@ -129,6 +129,13 @@ public function setConfigFactory(ConfigFactoryInterface $config_factory) {
return $this;
}
/**
* Resets the configuration factory.
*/
public function resetConfigFactory() {
$this->configFactory = NULL;
}
/**
* Gets the request object.
*
......
......@@ -254,6 +254,8 @@ public function submitForm(array &$form, array &$form_state) {
// Add the site maintenance account's email address to the list of
// addresses to be notified when updates are available, if selected.
if ($form_state['values']['update_status_module'][2]) {
// Reset the configuration factory so it is updated with the new module.
$this->resetConfigFactory();
$this->config('update.settings')->set('notification.emails', array($form_state['values']['account']['mail']))->save();
}
}
......
......@@ -42,3 +42,60 @@ action.configuration.comment_unpublish_by_keyword_action:
action.configuration.comment_unpublish_action:
type: action_configuration_default
label: 'Unpublish comment configuration'
field.comment.settings:
type: sequence
label: 'Settings'
sequence:
- type: string
label: 'Setting'
field.comment.value:
type: sequence
label: 'Settings'
sequence:
- type: mapping
label: 'Settings'
mapping:
status:
type: integer
label: 'Status'
cid:
type: integer
label: 'Status'
last_comment_timestamp:
type: integer
label: 'Last comment timestamp'
last_comment_name:
type: integer
label: 'Name'
last_comment_uid:
type: integer
label: 'UID'
comment_count:
type: integer
label: 'Count'
field.comment.instance_settings:
type: mapping
label: 'Comment settings'
mapping:
default_mode:
type: boolean
label: 'Threading'
per_page:
type: integer
label: 'Comments per page'
anonymous:
type: integer
label: 'Mode'
subject:
type: boolean
label: 'Allow comment title'
form_location:
type: boolean
label: ' Allow comment title'
preview:
type: integer
label: 'Preview comment'
......@@ -11,3 +11,7 @@ views.field.language:
views.filter.language:
type: views.filter.in_operator
label: 'Language'
views.filter_value.language:
type: string
label: 'Language'
......@@ -19,5 +19,8 @@ menu.entity.node.*:
label: 'Per-content type menu settings'
mapping:
available_menus:
type: array
type: sequence
label: 'Available menus'
sequence:
- type: string
label: 'Menu machine name'
......@@ -108,14 +108,26 @@ action.configuration.node_publish_action:
type: action_configuration_default
label: 'Publish selected content configuration'
action.configuration.node_unpublish_action:
type: action_configuration_default
label: 'Unpublish selected content configuration'
action.configuration.node_save_action:
type: action_configuration_default
label: 'save content configuration'
label: 'Save content configuration'
action.configuration.node_delete_action:
type: action_configuration_default
label: 'Delete content configuration'
action.configuration.node_make_sticky_action:
type: action_configuration_default
label: 'Make selected content sticky configuration'
action.configuration.node_make_unsticky_action:
type: action_configuration_default
label: 'Make selected content unsticky configuration'
action.configuration.node_unpublish_by_keyword_action:
type: mapping
label: 'Unpublish content containing keyword(s) configuration'
......@@ -126,11 +138,3 @@ action.configuration.node_unpublish_by_keyword_action:
sequence:
- type: sequence
label: 'Keyword'
action.configuration.node_unpublish_action:
type: action_configuration_default
label: 'Unpublish selected content configuration'
action.configuration.node_unsticky_action:
type: action_configuration_default
label: 'Publish selected content not sticky configuration'
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